Files
EhViewer/app/src/main/res/xml/read_settings.xml
T

74 lines
2.8 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">
<ListPreference
android:key="reading_direction"
android:title="@string/settings_read_reading_direction_title"
android:summary="%s"
android:entries="@array/reading_direction_entries"
android:entryValues="@array/reading_direction_entry_values"
android:defaultValue="1"/>
<ListPreference
android:key="page_scaling"
android:title="@string/settings_read_page_scaling_title"
android:summary="%s"
android:entries="@array/page_scaling_entries"
android:entryValues="@array/page_scaling_entry_values"
android:defaultValue="3"/>
<ListPreference
android:key="start_position"
android:title="@string/settings_read_start_position_title"
android:summary="%s"
android:entries="@array/start_position_entries"
android:entryValues="@array/start_position_values"
android:defaultValue="1"/>
<com.hippo.preference.FixedSwitchPreference
style="?android:attr/preferenceStyle"
android:widgetLayout="@layout/preference_widget_fixed_switch"
android:key="keep_screen_on"
android:title="@string/settings_read_keep_screen_on_title"
android:defaultValue="false" />
<com.hippo.preference.FixedSwitchPreference
style="?android:attr/preferenceStyle"
android:widgetLayout="@layout/preference_widget_fixed_switch"
android:key="gallery_show_clock"
android:title="@string/settings_read_show_clock_title"
android:defaultValue="true"/>
<com.hippo.preference.FixedSwitchPreference
style="?android:attr/preferenceStyle"
android:widgetLayout="@layout/preference_widget_fixed_switch"
android:key="gallery_show_battery"
android:title="@string/settings_read_show_battery_title"
android:defaultValue="true"/>
<com.hippo.preference.FixedSwitchPreference
style="?android:attr/preferenceStyle"
android:widgetLayout="@layout/preference_widget_fixed_switch"
android:key="volume_page"
android:title="@string/settings_read_volume_page_title"
android:defaultValue="false"/>
</PreferenceScreen>