130 lines
4.9 KiB
XML
130 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2016 Hippo Seven
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<rikka.preference.SimpleMenuPreference
|
|
android:defaultValue="0"
|
|
android:key="screen_rotation"
|
|
android:summary="%s"
|
|
android:title="@string/settings_read_screen_rotation"
|
|
app:entries="@array/screen_rotation_entries"
|
|
app:entryValues="@array/screen_rotation_entry_values"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.preference.SimpleMenuPreference
|
|
android:defaultValue="1"
|
|
android:key="reading_direction"
|
|
android:summary="%s"
|
|
android:title="@string/settings_read_reading_direction"
|
|
app:entries="@array/reading_direction_entries"
|
|
app:entryValues="@array/reading_direction_entry_values"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.preference.SimpleMenuPreference
|
|
android:defaultValue="3"
|
|
android:key="page_scaling"
|
|
android:summary="%s"
|
|
android:title="@string/settings_read_page_scaling"
|
|
app:entries="@array/page_scaling_entries"
|
|
app:entryValues="@array/page_scaling_entry_values"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.preference.SimpleMenuPreference
|
|
android:defaultValue="1"
|
|
android:key="start_position"
|
|
android:summary="%s"
|
|
android:title="@string/settings_read_start_position"
|
|
app:entries="@array/start_position_entries"
|
|
app:entryValues="@array/start_position_values"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.preference.SimpleMenuPreference
|
|
android:defaultValue="1"
|
|
android:key="read_theme"
|
|
android:summary="%s"
|
|
android:title="@string/read_theme"
|
|
app:entries="@array/read_theme_entries"
|
|
app:entryValues="@array/read_theme_entry_values"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="keep_screen_on"
|
|
android:title="@string/settings_read_keep_screen_on"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="gallery_show_clock"
|
|
android:title="@string/settings_read_show_clock"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="gallery_show_progress"
|
|
android:title="@string/settings_read_show_progress"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="gallery_show_battery"
|
|
android:title="@string/settings_read_show_battery"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="gallery_show_page_interval"
|
|
android:title="@string/settings_read_show_page_interval"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="volume_page"
|
|
android:title="@string/settings_read_volume_page"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="false"
|
|
android:dependency="volume_page"
|
|
android:key="reserve_volume_page"
|
|
android:title="@string/settings_read_reverse_volume"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="reading_fullscreen"
|
|
android:title="@string/settings_read_reading_fullscreen"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<rikka.material.preference.MaterialSwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="custom_screen_lightness"
|
|
android:title="@string/settings_read_custom_screen_lightness"
|
|
app:iconSpaceReserved="false" />
|
|
|
|
<SeekBarPreference
|
|
android:defaultValue="50"
|
|
android:dependency="custom_screen_lightness"
|
|
android:key="screen_lightness"
|
|
android:title="@string/settings_read_screen_lightness"
|
|
android:max="200"
|
|
app:iconSpaceReserved="false"
|
|
app:showSeekBarValue="true" />
|
|
|
|
</PreferenceScreen>
|