Based on fe2543b9d5
Co-Authored-By: Jays2Kings
(cherry picked from commit 14c114756dbcc9d952790918c0a47b2bdc2dbade)
# Conflicts:
# app/src/main/res/layout/reader_general_settings.xml
# app/src/main/res/layout/reader_pager_settings.xml
# app/src/main/res/layout/reader_webtoon_settings.xml
85 lines
3.5 KiB
XML
85 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/pager_prefs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/pager_viewer"
|
|
android:textColor="?attr/colorAccent"
|
|
android:textStyle="bold"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
|
android:id="@+id/pager_nav"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/pager_nav"
|
|
app:title="@string/pref_viewer_nav" />
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
|
android:id="@+id/tapping_inverted"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/invert_tapping_mode"
|
|
app:title="@string/pref_read_with_tapping_inverted" />
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
|
android:id="@+id/scale_type"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/image_scale_type"
|
|
app:title="@string/pref_image_scale_type" />
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
|
android:id="@+id/zoom_start"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/zoom_start"
|
|
app:title="@string/pref_zoom_start" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/crop_borders"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pref_crop_borders"
|
|
app:layout_constraintTop_toBottomOf="@id/zoom_start" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/dual_page_split"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pref_dual_page_split"
|
|
app:layout_constraintTop_toBottomOf="@id/crop_borders" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/dual_page_invert"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pref_dual_page_invert"
|
|
android:visibility="gone"
|
|
app:layout_constraintTop_toBottomOf="@id/dual_page_split"
|
|
tools:visibility="visible" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/page_transitions_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/pref_page_transitions"
|
|
app:layout_constraintTop_toBottomOf="@+id/dual_page_invert" />
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
android:id="@+id/tapping_prefs_group"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:constraint_referenced_ids="pager_nav,tapping_inverted,dual_page_split,dual_page_invert,page_transitions_pager" />
|
|
|
|
</LinearLayout>
|