HHoris优化
14d6c350创建于 2025年6月1日历史提交
<?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.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:iconSpaceReserved="false"
        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:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="hideStatusBar"
        android:title="@string/pt_hide_status_bar"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="hideNavigationBar"
        android:title="@string/pt_hide_navigation_bar"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="readBodyToLh"
        android:title="@string/read_body_to_lh"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="paddingDisplayCutouts"
        android:title="@string/padding_display_cutouts"
        app:iconSpaceReserved="false"
        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:iconSpaceReserved="false"
        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:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="useZhLayout"
        android:title="@string/use_zh_layout"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="textFullJustify"
        android:title="@string/text_full_justify"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="textBottomJustify"
        android:title="@string/text_bottom_justify"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="mouseWheelPage"
        android:title="@string/mouse_wheel_page"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="volumeKeyPage"
        android:title="@string/volume_key_page"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="volumeKeyPageOnPlay"
        android:title="@string/volume_key_page_on_play"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="keyPageOnLongPress"
        android:title="@string/key_page_on_long_press"
        app:iconSpaceReserved="false"
        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:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="autoChangeSource"
        android:title="@string/auto_change_source"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="selectText"
        android:title="@string/selectText"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="true"
        android:key="showBrightnessView"
        android:title="@string/show_brightness_view"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="noAnimScrollPage"
        android:title="@string/no_anim_scroll_page"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="previewImageByClick"
        android:title="@string/preview_image_by_click"
        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:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.Preference
        android:key="clickRegionalConfig"
        android:title="@string/click_regional_config"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="disableReturnKey"
        android:title="@string/disable_return_key"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.Preference
        android:key="customPageKey"
        android:title="@string/custom_page_key"
        app:iconSpaceReserved="false"
        app:isBottomBackground="true" />

    <io.legado.app.lib.prefs.SwitchPreference
        android:defaultValue="false"
        android:key="expandTextMenu"
        android:title="@string/expand_text_menu"
        app:iconSpaceReserved="false"
        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.SwitchPreference
        android:defaultValue="false"
        android:key="readBarStyleFollowPage"
        android:title="@string/read_bar_style_follow_page" />
</androidx.preference.PreferenceScreen>