2021-03-24 22:10:31 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.settings.ReaderGeneralView 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"
|
2021-03-24 22:29:21 +01:00
|
|
|
android:clipToPadding="false"
|
2021-03-24 22:10:31 +01:00
|
|
|
android:background="@drawable/bottom_sheet_rounded_background"
|
|
|
|
android:forceDarkAllowed="false">
|
|
|
|
|
2021-03-24 22:29:21 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/constraint_layout"
|
|
|
|
style="@style/BottomSheetDialogTheme"
|
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:background="@android:color/transparent"
|
2021-03-24 22:10:31 +01:00
|
|
|
android:clipToPadding="false"
|
2021-03-24 22:29:21 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingStart="@dimen/material_component_dialogs_padding_around_content_area"
|
|
|
|
android:paddingTop="0dp"
|
|
|
|
android:paddingEnd="@dimen/material_component_dialogs_padding_around_content_area">
|
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/viewer_series"
|
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/viewer_for_this_series"
|
|
|
|
android:entries="@array/viewers_selector" />
|
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/rotation_mode"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/rotation"
|
|
|
|
android:entries="@array/rotation_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/background_color"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:title="@string/background_color"
|
|
|
|
android:entries="@array/reader_themes" />
|
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/show_page_number"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:text="@string/show_page_number"
|
|
|
|
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/fullscreen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:text="@string/fullscreen"
|
|
|
|
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/keepscreen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:text="@string/keep_screen_on"
|
|
|
|
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/always_show_chapter_transition"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:text="@string/always_show_chapter_transition"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
|
|
|
</LinearLayout>
|
2021-03-24 22:10:31 +01:00
|
|
|
</eu.kanade.tachiyomi.ui.reader.settings.ReaderGeneralView>
|