2021-01-03 10:50:38 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-03-27 16:28:49 -04:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-01-03 10:50:38 -05:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-01-03 10:54:09 -05:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2021-04-06 23:21:21 -04:00
|
|
|
android:layout_height="wrap_content"
|
2021-03-27 16:28:49 -04:00
|
|
|
android:orientation="vertical">
|
2021-01-03 10:50:38 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/webtoon_prefs"
|
2021-03-27 16:28:49 -04:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 10:50:38 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/webtoon_viewer"
|
2021-03-27 17:59:52 -04:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.Medium.SubHeading" />
|
2021-01-03 10:50:38 -05:00
|
|
|
|
2021-04-16 22:39:19 -04:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-01-03 10:50:38 -05:00
|
|
|
android:id="@+id/webtoon_nav"
|
2021-03-27 16:28:49 -04:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 10:50:38 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/webtoon_nav"
|
2021-03-27 16:28:49 -04:00
|
|
|
app:title="@string/pref_viewer_nav" />
|
2021-01-03 10:50:38 -05:00
|
|
|
|
2021-04-16 22:39:19 -04:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-01-03 10:50:38 -05:00
|
|
|
android:id="@+id/tapping_inverted"
|
2021-03-27 16:28:49 -04:00
|
|
|
android:layout_width="match_parent"
|
2021-01-03 10:50:38 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/invert_tapping_mode"
|
2021-03-27 16:28:49 -04:00
|
|
|
app:title="@string/pref_read_with_tapping_inverted" />
|
2021-01-03 10:50:38 -05:00
|
|
|
|
2021-04-16 22:39:19 -04:00
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
2021-03-26 22:31:21 -04:00
|
|
|
android:id="@+id/webtoon_side_padding"
|
2021-03-27 16:28:49 -04:00
|
|
|
android:layout_width="match_parent"
|
2021-03-26 22:31:21 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/webtoon_side_padding"
|
2021-03-27 16:28:49 -04:00
|
|
|
app:title="@string/pref_webtoon_side_padding" />
|
2021-03-26 22:31:21 -04:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/crop_borders_webtoon"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-27 17:59:52 -04:00
|
|
|
android:paddingStart="16dp"
|
2021-04-06 11:23:39 -04:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:text="@string/pref_crop_borders" />
|
2021-03-26 22:31:21 -04:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/dual_page_split"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-27 17:59:52 -04:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-04-06 11:23:39 -04:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2021-03-27 17:59:52 -04:00
|
|
|
android:text="@string/pref_dual_page_split" />
|
2021-03-26 22:31:21 -04:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/dual_page_invert"
|
|
|
|
android:layout_width="match_parent"
|
2021-03-27 17:59:52 -04:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2021-03-26 22:31:21 -04:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-06 11:23:39 -04:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2021-03-26 22:31:21 -04:00
|
|
|
android:text="@string/pref_dual_page_invert"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
2021-01-03 10:50:38 -05:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/tapping_prefs_group"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-27 16:28:49 -04:00
|
|
|
app:constraint_referenced_ids="webtoon_nav,tapping_inverted,dual_page_split,dual_page_invert" />
|
2021-01-03 10:54:09 -05:00
|
|
|
|
2021-03-27 16:28:49 -04:00
|
|
|
</LinearLayout>
|