250 lines
9.7 KiB
XML
250 lines
9.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<io.legado.app.lib.prefs.PreferenceCategory
|
|
android:key="screenCategory"
|
|
android:title="@string/screen_settings"
|
|
app:iconSpaceReserved="false">
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="0"
|
|
android:entries="@array/screen_direction_title"
|
|
android:entryValues="@array/screen_direction_value"
|
|
android:key="screenOrientation"
|
|
android:title="@string/screen_direction"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="0"
|
|
android:entries="@array/screen_time_out"
|
|
android:entryValues="@array/screen_time_out_value"
|
|
android:key="keep_light"
|
|
android:title="@string/keep_light"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="hideStatusBar"
|
|
android:title="@string/pt_hide_status_bar"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="hideNavigationBar"
|
|
android:title="@string/pt_hide_navigation_bar"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="paddingDisplayCutouts"
|
|
android:title="@string/padding_display_cutouts"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="1"
|
|
android:entries="@array/title_bar_mode"
|
|
android:entryValues="@array/title_bar_mode_value"
|
|
android:key="titleBarMode"
|
|
android:title="@string/title_bar_mode"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.Preference
|
|
android:key="menuAlpha"
|
|
android:summary="@string/menu_alpha_sum"
|
|
android:title="@string/menu_alpha"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="readBodyToLh"
|
|
android:title="@string/read_body_to_lh"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="defaultSourceChangeAll"
|
|
android:title="@string/read_change_all"
|
|
android:summary="@string/read_change_all_s"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="textFullJustify"
|
|
android:title="@string/text_full_justify"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="textBottomJustify"
|
|
android:title="@string/text_bottom_justify"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="adaptSpecialStyle"
|
|
android:title="@string/adapt_special_style"
|
|
app:iconSpaceReserved="false"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="useZhLayout"
|
|
android:title="@string/use_zh_layout"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="showBrightnessView"
|
|
android:title="@string/show_brightness_view"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="useUnderline"
|
|
android:title="@string/use_underline"
|
|
app:isBottomBackground="true" />
|
|
|
|
</io.legado.app.lib.prefs.PreferenceCategory>
|
|
|
|
<io.legado.app.lib.prefs.PreferenceCategory
|
|
android:key="pageControlCategory"
|
|
android:title="@string/page_control"
|
|
app:iconSpaceReserved="false">
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="0"
|
|
android:entries="@array/read_slider_mode"
|
|
android:entryValues="@array/read_slider_mode_value"
|
|
android:key="read_slider_mode"
|
|
android:title="@string/read_slider_mode"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="0"
|
|
android:entries="@array/double_page_title"
|
|
android:entryValues="@array/double_page_value"
|
|
android:key="doubleHorizontalPage"
|
|
android:title="@string/double_page_horizontal"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="page"
|
|
android:entries="@array/progress_bar_behavior_title"
|
|
android:entryValues="@array/progress_bar_behavior_value"
|
|
android:key="progressBarBehavior"
|
|
android:title="@string/progress_bar_behavior"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="mouseWheelPage"
|
|
android:title="@string/mouse_wheel_page"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="volumeKeyPage"
|
|
android:title="@string/volume_key_page"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="volumeKeyPageOnPlay"
|
|
android:title="@string/volume_key_page_on_play"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="keyPageOnLongPress"
|
|
android:title="@string/key_page_on_long_press"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.Preference
|
|
android:key="pageTouchSlop"
|
|
android:summary="@string/page_touch_slop_summary"
|
|
android:title="@string/page_touch_slop_title"
|
|
app:isBottomBackground="true" />
|
|
</io.legado.app.lib.prefs.PreferenceCategory>
|
|
|
|
<io.legado.app.lib.prefs.PreferenceCategory
|
|
android:key="otherCategory"
|
|
android:title="@string/other"
|
|
app:iconSpaceReserved="false">
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="sliderVibrator"
|
|
android:title="@string/enable_slider_vibrator"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="selectVibrator"
|
|
android:title="@string/enable_select_vibrator"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="autoChangeSource"
|
|
android:title="@string/auto_change_source"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="selectText"
|
|
android:title="@string/selectText"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="noAnimScrollPage"
|
|
android:title="@string/no_anim_scroll_page"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.NameListPreference
|
|
android:defaultValue="2"
|
|
android:entries="@array/click_image_way_title"
|
|
android:entryValues="@array/click_image_way_value"
|
|
android:key="clickImgWay"
|
|
android:title="@string/click_image_way"
|
|
app:iconSpaceReserved="false"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="optimizeRender"
|
|
android:title="@string/enable_optimize_render"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.Preference
|
|
android:key="clickRegionalConfig"
|
|
android:title="@string/click_regional_config"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="disableReturnKey"
|
|
android:title="@string/disable_return_key"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.Preference
|
|
android:key="customPageKey"
|
|
android:title="@string/custom_page_key"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="expandTextMenu"
|
|
android:title="@string/expand_text_menu"
|
|
app:isBottomBackground="true" />
|
|
|
|
<io.legado.app.lib.prefs.SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="showReadTitleAddition"
|
|
android:title="@string/show_read_title_addition" />
|
|
|
|
</io.legado.app.lib.prefs.PreferenceCategory>
|
|
|
|
</androidx.preference.PreferenceScreen>
|