|
@@ -17,68 +17,68 @@
|
|
android:entries="@array/reader_themes"
|
|
android:entries="@array/reader_themes"
|
|
app:title="@string/pref_reader_theme" />
|
|
app:title="@string/pref_reader_theme" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/show_page_number"
|
|
android:id="@+id/show_page_number"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_show_page_number"
|
|
android:text="@string/pref_show_page_number"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/fullscreen"
|
|
android:id="@+id/fullscreen"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_fullscreen"
|
|
android:text="@string/pref_fullscreen"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/cutout_short"
|
|
android:id="@+id/cutout_short"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_cutout_short"
|
|
android:text="@string/pref_cutout_short"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
tools:visibility="visible" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/keepscreen"
|
|
android:id="@+id/keepscreen"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_keep_screen_on"
|
|
android:text="@string/pref_keep_screen_on"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/long_tap"
|
|
android:id="@+id/long_tap"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_read_with_long_tap"
|
|
android:text="@string/pref_read_with_long_tap"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/always_show_chapter_transition"
|
|
android:id="@+id/always_show_chapter_transition"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_always_show_chapter_transition"
|
|
android:text="@string/pref_always_show_chapter_transition"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
|
- <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
|
|
+ <com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/page_transitions"
|
|
android:id="@+id/page_transitions"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:paddingStart="16dp"
|
|
|
|
- android:paddingEnd="16dp"
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
|
+ android:paddingVertical="16dp"
|
|
android:text="@string/pref_page_transitions"
|
|
android:text="@string/pref_page_transitions"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|