2021-01-03 23:50:38 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-03-28 04:28:49 +08:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-01-03 23:50:38 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-01-03 23:54:09 +08:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2021-04-07 11:21:21 +08:00
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:orientation="vertical">
|
2021-01-03 23:50:38 +08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pager_prefs"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 23:50:38 +08:00
|
|
|
android:layout_height="wrap_content"
|
2022-01-23 03:39:05 +08:00
|
|
|
android:layout_marginBottom="8dp"
|
2021-03-28 05:59:52 +08:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-05-23 00:02:49 +08:00
|
|
|
android:text="@string/pager_viewer"
|
2021-10-04 00:32:04 +08:00
|
|
|
android:textAppearance="@style/TextAppearance.Tachiyomi.SectionHeader" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
2021-04-17 10:39:19 +08:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-01-03 23:50:38 +08:00
|
|
|
android:id="@+id/pager_nav"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 23:50:38 +08:00
|
|
|
android:layout_height="wrap_content"
|
2021-01-03 23:54:09 +08:00
|
|
|
android:entries="@array/pager_nav"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:title="@string/pref_viewer_nav" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
2021-04-17 10:39:19 +08:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-03-27 10:31:21 +08:00
|
|
|
android:id="@+id/tapping_inverted"
|
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/invert_tapping_mode"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:title="@string/pref_read_with_tapping_inverted" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
2021-04-17 10:39:19 +08:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-01-03 23:50:38 +08:00
|
|
|
android:id="@+id/scale_type"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 23:50:38 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/image_scale_type"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:title="@string/pref_image_scale_type" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
2022-07-09 12:00:18 +08:00
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
2022-02-13 00:21:54 +08:00
|
|
|
android:id="@+id/landscape_zoom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-09 12:00:18 +08:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="16dp"
|
2022-02-13 00:21:54 +08:00
|
|
|
android:text="@string/pref_landscape_zoom"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
2021-04-17 10:39:19 +08:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-01-03 23:50:38 +08:00
|
|
|
android:id="@+id/zoom_start"
|
2021-03-28 04:28:49 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 23:50:38 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/zoom_start"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:title="@string/pref_zoom_start" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
2022-07-09 12:00:18 +08:00
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
2021-01-03 23:50:38 +08:00
|
|
|
android:id="@+id/crop_borders"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-09 12:00:18 +08:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="16dp"
|
2021-05-23 00:02:49 +08:00
|
|
|
android:text="@string/pref_crop_borders"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
2022-07-09 12:00:18 +08:00
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
2022-02-13 00:21:54 +08:00
|
|
|
android:id="@+id/navigate_pan"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-09 12:00:18 +08:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="16dp"
|
2022-02-13 00:21:54 +08:00
|
|
|
android:text="@string/pref_navigate_pan"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
2022-07-09 12:00:18 +08:00
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
2021-03-27 10:31:21 +08:00
|
|
|
android:id="@+id/dual_page_split"
|
|
|
|
android:layout_width="match_parent"
|
2021-01-03 23:50:38 +08:00
|
|
|
android:layout_height="wrap_content"
|
2022-07-09 12:00:18 +08:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="16dp"
|
2021-05-23 00:02:49 +08:00
|
|
|
android:text="@string/pref_dual_page_split"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
2022-07-09 12:00:18 +08:00
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
2021-03-27 10:31:21 +08:00
|
|
|
android:id="@+id/dual_page_invert"
|
|
|
|
android:layout_width="match_parent"
|
2021-01-03 23:50:38 +08:00
|
|
|
android:layout_height="wrap_content"
|
2022-07-09 12:00:18 +08:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="16dp"
|
2021-03-27 10:31:21 +08:00
|
|
|
android:text="@string/pref_dual_page_invert"
|
2021-05-23 00:02:49 +08:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2021-03-27 10:31:21 +08:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
2021-01-03 23:50:38 +08:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/tapping_prefs_group"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-28 04:28:49 +08:00
|
|
|
app:constraint_referenced_ids="pager_nav,tapping_inverted,dual_page_split,dual_page_invert" />
|
2021-01-03 23:54:09 +08:00
|
|
|
|
2021-03-28 04:28:49 +08:00
|
|
|
</LinearLayout>
|