增强点击翻页设置

pull/473/head
gedoor 4 years ago
parent af12fdeca7
commit 17918bec80
  1. 10
      app/src/main/res/drawable/ic_baseline_close.xml
  2. 26
      app/src/main/res/layout/dialog_click_action_config.xml
  3. 1
      app/src/main/res/values-zh-rHK/strings.xml
  4. 1
      app/src/main/res/values-zh-rTW/strings.xml
  5. 1
      app/src/main/res/values-zh/strings.xml
  6. 1
      app/src/main/res/values/strings.xml

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
</vector>

@ -7,6 +7,32 @@
android:orientation="vertical" android:orientation="vertical"
tools:ignore="NestedWeights"> tools:ignore="NestedWeights">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
tools:ignore="UseCompoundDrawables">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/click_regional_config" />
<ImageView
android:id="@+id/iv_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_baseline_close"
android:contentDescription="@string/colse" />
</LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"

@ -781,5 +781,6 @@
<string name="no_book">没有书籍</string> <string name="no_book">没有书籍</string>
<string name="keep_original_name">保留原名</string> <string name="keep_original_name">保留原名</string>
<string name="click_regional_config">点击区域设置</string> <string name="click_regional_config">点击区域设置</string>
<string name="colse">关闭</string>
</resources> </resources>

@ -781,5 +781,6 @@
<string name="no_book">没有书籍</string> <string name="no_book">没有书籍</string>
<string name="keep_original_name">保留原名</string> <string name="keep_original_name">保留原名</string>
<string name="click_regional_config">点击区域设置</string> <string name="click_regional_config">点击区域设置</string>
<string name="colse">关闭</string>
</resources> </resources>

@ -784,5 +784,6 @@
<string name="no_book">没有书籍</string> <string name="no_book">没有书籍</string>
<string name="keep_original_name">保留原名</string> <string name="keep_original_name">保留原名</string>
<string name="click_regional_config">点击区域设置</string> <string name="click_regional_config">点击区域设置</string>
<string name="colse">关闭</string>
</resources> </resources>

@ -787,5 +787,6 @@
<string name="no_book">没有书籍</string> <string name="no_book">没有书籍</string>
<string name="keep_original_name">保留原名</string> <string name="keep_original_name">保留原名</string>
<string name="click_regional_config">点击区域设置</string> <string name="click_regional_config">点击区域设置</string>
<string name="colse">关闭</string>
</resources> </resources>

Loading…
Cancel
Save