2021-03-26 11:10:22 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:layout_height="match_parent">
|
2021-03-27 10:31:21 +08:00
|
|
|
|
2021-03-28 04:28:49 +08:00
|
|
|
<LinearLayout
|
2021-03-27 10:31:21 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2021-03-27 10:31:21 +08:00
|
|
|
|
2021-03-28 04:28:49 +08:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
2021-03-27 10:31:21 +08:00
|
|
|
android:id="@+id/rotation_mode"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-03-27 10:31:21 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/rotation_type"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:title="@string/pref_rotation_type" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
2021-03-28 04:28:49 +08:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
2021-03-27 10:31:21 +08:00
|
|
|
android:id="@+id/background_color"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-03-27 10:31:21 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/reader_themes"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:title="@string/pref_reader_theme" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/show_page_number"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:text="@string/pref_show_page_number" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/fullscreen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:text="@string/pref_fullscreen" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/cutout_short"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/pref_cutout_short"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-27 10:31:21 +08:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/keepscreen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:text="@string/pref_keep_screen_on" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/long_tap"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:text="@string/pref_read_with_long_tap" />
|
2021-03-26 11:10:22 +08:00
|
|
|
|
2021-03-27 10:31:21 +08:00
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/always_show_chapter_transition"
|
2021-03-26 11:10:22 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-03-27 10:31:21 +08:00
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:text="@string/pref_always_show_chapter_transition" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
2021-03-27 22:53:19 +08:00
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/page_transitions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:text="@string/pref_page_transitions" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
2021-03-28 04:28:49 +08:00
|
|
|
</LinearLayout>
|
2021-03-26 11:10:22 +08:00
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|