Also allow webtoon side padding to be any amount between 0 - 25%. (cherry picked from commit 2f0133986a60fbd4218e32fce19df6171bad4e71) # Conflicts: # app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderSettingsSheet.kt # app/src/main/res/layout/reader_pager_settings.xml # app/src/main/res/layout/reader_webtoon_settings.xml
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?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"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/for_this_series_prefs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="@string/pref_category_for_this_series"
|
|
android:textAppearance="@style/TextAppearance.Tachiyomi.SectionHeader" />
|
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
|
android:id="@+id/viewer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/viewers_selector"
|
|
app:title="@string/pref_category_reading_mode" />
|
|
|
|
<eu.kanade.tachiyomi.widget.MaterialSpinnerView
|
|
android:id="@+id/rotation_mode"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:entries="@array/rotation_type"
|
|
app:title="@string/rotation_type" />
|
|
|
|
<include
|
|
android:id="@+id/pager_prefs_group"
|
|
layout="@layout/reader_pager_settings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<include
|
|
android:id="@+id/webtoon_prefs_group"
|
|
layout="@layout/reader_webtoon_settings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|