2021-03-24 22:10:31 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderPagedView 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:id="@+id/filter_bottom_sheet"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/bottom_sheet_rounded_background"
|
2021-03-24 22:29:21 +01:00
|
|
|
android:clipToPadding="false">
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<LinearLayout
|
2021-03-24 22:10:31 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-03-24 22:29:21 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="@dimen/material_component_dialogs_padding_around_content_area"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="0dp"
|
|
|
|
android:paddingEnd="@dimen/material_component_dialogs_padding_around_content_area">
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-25 01:13:14 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
|
|
|
android:id="@+id/pager_nav"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/nav_layout"
|
|
|
|
android:entries="@array/reader_nav" />
|
|
|
|
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
|
|
|
android:id="@+id/pager_invert"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/invert_tapping"
|
|
|
|
android:entries="@array/invert_tapping_mode" />
|
|
|
|
|
2021-03-24 22:29:52 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
2021-03-24 22:29:21 +01:00
|
|
|
android:id="@+id/scale_type"
|
2021-03-24 22:10:31 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-24 22:29:21 +01:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/scale_type"
|
|
|
|
android:entries="@array/image_scale_type" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:52 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
2021-03-24 22:29:21 +01:00
|
|
|
android:id="@+id/zoom_start"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/zoom_start_position"
|
|
|
|
android:entries="@array/zoom_start" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/crop_borders"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:text="@string/crop_borders"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/page_transitions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="0dp"
|
2021-03-25 01:13:14 +01:00
|
|
|
android:text="@string/animate_page_transitions"
|
2021-03-24 22:29:21 +01:00
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<!-- Webtoon Prefs -->
|
2021-03-25 01:13:14 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
|
|
|
android:id="@+id/webtoon_nav"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/nav_layout"
|
|
|
|
android:entries="@array/reader_nav" />
|
|
|
|
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
|
|
|
android:id="@+id/webtoon_invert"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/invert_tapping"
|
|
|
|
android:entries="@array/invert_tapping_mode" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:52 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderSpinnerView
|
2021-03-24 22:29:21 +01:00
|
|
|
android:id="@+id/webtoon_side_padding"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/pref_webtoon_side_padding"
|
|
|
|
android:entries="@array/webtoon_side_padding" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29: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:layout_marginTop="4dp"
|
|
|
|
android:text="@string/crop_borders"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/webtoon_enable_zoom_out"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:text="@string/enable_zoom_out"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/webtoon_side_padding" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/pager_prefs_group"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:constraint_referenced_ids="scale_type,zoom_start,crop_borders,page_transitions"
|
|
|
|
tools:visibility="visible" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/webtoon_prefs_group"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:constraint_referenced_ids="crop_borders_webtoon,webtoon_side_padding,webtoon_enable_zoom_out" />
|
2021-03-24 22:10:31 +01:00
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
</LinearLayout>
|
2021-03-24 22:10:31 +01:00
|
|
|
</eu.kanade.tachiyomi.ui.reader.settings.ReaderPagedView>
|