2021-01-03 16:50:38 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-03-27 21:28:49 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-01-03 16:50:38 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-01-03 16:54:09 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2021-03-27 21:28:49 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2021-01-03 16:50:38 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/webtoon_prefs"
|
2021-03-27 21:28:49 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 16:50:38 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:text="@string/webtoon_viewer"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2021-03-27 21:28:49 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
2021-01-03 16:50:38 +01:00
|
|
|
android:id="@+id/webtoon_nav"
|
2021-03-27 21:28:49 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 16:50:38 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/webtoon_nav"
|
2021-03-27 21:28:49 +01:00
|
|
|
app:title="@string/pref_viewer_nav" />
|
2021-01-03 16:50:38 +01:00
|
|
|
|
2021-03-27 21:28:49 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
2021-01-03 16:50:38 +01:00
|
|
|
android:id="@+id/tapping_inverted"
|
2021-03-27 21:28:49 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 16:50:38 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/invert_tapping_mode"
|
2021-03-27 21:28:49 +01:00
|
|
|
app:title="@string/pref_read_with_tapping_inverted" />
|
2021-01-03 16:50:38 +01:00
|
|
|
|
2021-03-27 21:28:49 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
|
2021-03-27 03:31:21 +01:00
|
|
|
android:id="@+id/webtoon_side_padding"
|
2021-03-27 21:28:49 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-03-27 03:31:21 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/webtoon_side_padding"
|
2021-03-27 21:28:49 +01:00
|
|
|
app:title="@string/pref_webtoon_side_padding" />
|
2021-03-27 03:31:21 +01:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/crop_borders_webtoon"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/pref_crop_borders"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/webtoon_side_padding" />
|
|
|
|
|
|
|
|
<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_webtoon" />
|
|
|
|
|
|
|
|
<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" />
|
2021-01-03 16:50:38 +01:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/tapping_prefs_group"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-27 21:28:49 +01:00
|
|
|
app:constraint_referenced_ids="webtoon_nav,tapping_inverted,dual_page_split,dual_page_invert" />
|
2021-01-03 16:54:09 +01:00
|
|
|
|
2021-03-27 21:28:49 +01:00
|
|
|
</LinearLayout>
|