Make keep screen on in reader optional
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:keepScreenOn="true">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:id="@+id/container"
|
||||
|
||||
@@ -489,4 +489,6 @@
|
||||
<string name="zoom_in">Zoom in</string>
|
||||
<string name="reader_zoom_buttons">Show zoom buttons</string>
|
||||
<string name="reader_zoom_buttons_summary">Whether to show zoom control buttons in the bottom right corner</string>
|
||||
<string name="keep_screen_on">Keep screen on</string>
|
||||
<string name="keep_screen_on_summary">Do not turn the screen off while you\'re reading manga</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,13 +78,19 @@
|
||||
android:summary="@string/show_pages_numbers_summary"
|
||||
android:title="@string/show_pages_numbers" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="reader_screen_on"
|
||||
android:summary="@string/keep_screen_on_summary"
|
||||
android:title="@string/keep_screen_on"
|
||||
app:allowDividerAbove="true" />
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="allow"
|
||||
android:entries="@array/screenshots_policy"
|
||||
android:entryValues="@array/values_screenshots_policy"
|
||||
android:key="screenshots_policy"
|
||||
android:title="@string/screenshots_policy"
|
||||
app:allowDividerAbove="true"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<ListPreference
|
||||
|
||||
Reference in New Issue
Block a user