<?xml version="1.0" encoding="utf-8"?><!--suppress DeprecatedClassUsageInspection -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <PreferenceCategory android:title="@string/main_category">
        <SwitchPreference
            android:key="main_func"
            android:summary="@string/main_func_summary"
            android:title="@string/main_func_title" />

        <Preference
            android:dependency="main_func"
            android:key="custom_server"
            android:summary="@string/custom_server_summary"
            android:title="@string/custom_server_title" />

        <SwitchPreference
            android:dependency="main_func"
            android:key="allow_download"
            android:summary="@string/allow_download_summary"
            android:title="@string/allow_download_title" />

        <SwitchPreference
            android:dependency="allow_download"
            android:key="fix_download"
            android:summary="@string/fix_download_summary"
            android:title="@string/fix_download_title" />

        <SwitchPreference
            android:dependency="main_func"
            android:key="allow_mini_play"
            android:summary="@string/allow_mini_play_summary"
            android:title="@string/allow_mini_play_title" />
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/cdn_category">
        <ListPreference
            android:defaultValue="@string/ali_host"
            android:entries="@array/upos_entries"
            android:entryValues="@array/upos_values"
            android:key="upos_host"
            android:summary="@string/custom_upos_summary"
            android:title="@string/custom_upos_title" />

        <Preference
            android:key="test_upos"
            android:summary="@string/test_upos_summary"
            android:title="@string/test_upos_title" />

        <SwitchPreference
            android:key="force_upos"
            android:summary="@string/force_upos_summary"
            android:title="@string/force_upos_title" />

        <SwitchPreference
            android:key="block_pcdn"
            android:summary="@string/block_pcdn_summary"
            android:title="@string/block_pcdn_title" />

        <SwitchPreference
            android:key="block_pcdn_live"
            android:summary="@string/block_pcdn_live_summary"
            android:title="@string/block_pcdn_live_title" />
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/beautify_category">
        <SwitchPreference
            android:key="custom_theme"
            android:summary="@string/custom_theme_summary"
            android:title="@string/custom_theme_title" />
        <SwitchPreference
            android:key="auto_dark_splash"
            android:summary="@string/auto_dark_splash_summary"
            android:title="@string/auto_dark_splash_title" />
        <SwitchPreference
            android:key="custom_splash"
            android:summary="@string/custom_splash_summary"
            android:title="@string/custom_splash_title" />
        <SwitchPreference
            android:key="custom_splash_logo"
            android:summary="@string/custom_splash_logo_summary"
            android:title="@string/custom_splash_logo_title" />
        <SwitchPreference
            android:key="full_splash"
            android:summary="@string/full_splash_summary"
            android:title="@string/full_splash_title" />
        <SwitchPreference
            android:key="music_notification"
            android:summary="@string/music_notification_summary"
            android:title="@string/music_notification_title" />
        <SwitchPreference
            android:key="drawer"
            android:summary="@string/drawer_summary"
            android:title="@string/drawer_title" />
        <SwitchPreference
            android:key="custom_subtitle"
            android:summary="@string/custom_subtitle_summary"
            android:title="@string/custom_subtitle_title" />
        <SwitchPreference
            android:key="disable_story_full"
            android:summary="@string/disable_story_full_summary"
            android:title="@string/disable_story_full_title" />
        <SwitchPreference
            android:defaultValue="false"
            android:key="disable_main_page_story"
            android:summary="@string/disable_main_page_story_summary"
            android:title="@string/disable_main_page_story_title" />
        <SwitchPreference
            android:defaultValue="false"
            android:key="dialog_blur_background"
            android:summary="@string/dialog_blur_background_summary"
            android:title="@string/dialog_blur_background_title" />
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/miscellaneous_category">
        <SwitchPreference
            android:key="teenagers_mode_dialog"
            android:summary="@string/teenagers_mode_dialog_summary"
            android:title="@string/teenagers_mode_dialog_title" />

        <SwitchPreference
            android:key="comment_copy"
            android:summary="@string/comment_copy_summary"
            android:title="@string/comment_copy_title" />

        <SwitchPreference
            android:dependency="comment_copy"
            android:key="comment_copy_enhance"
            android:summary="@string/comment_copy_enhance_summary"
            android:title="@string/comment_copy_enhance_title" />

        <SwitchPreference
            android:key="copy_comment"
            android:summary="@string/copy_comment_summary"
            android:title="@string/copy_comment_title" />

        <SwitchPreference
            android:key="mini_program"
            android:summary="@string/mini_program_summary"
            android:title="@string/mini_program_title" />

        <SwitchPreference
            android:key="auto_like"
            android:summary="@string/auto_like_summary"
            android:title="@string/auto_like_title" />

        <SwitchPreference
            android:key="enable_av"
            android:summary="@string/enable_av_summary"
            android:title="@string/enable_av_title" />

        <SwitchPreference
            android:key="custom_download_thread"
            android:summary="@string/custom_download_thread_summary"
            android:title="@string/custom_download_thread_title" />

        <SwitchPreference
            android:key="revert_live_room_feed"
            android:summary="@string/revert_live_room_feed_summary"
            android:title="@string/revert_live_room_feed_title" />

        <SwitchPreference
            android:key="replace_story_video"
            android:summary="@string/replace_story_video_summary"
            android:title="@string/replace_story_video_title" />

        <SwitchPreference
            android:key="purify_share"
            android:summary="@string/purify_share_summary"
            android:title="@string/purify_share_title" />

        <Preference
            android:key="custom_link"
            android:summary="@string/custom_link_summary"
            android:title="@string/custom_link_title" />

        <SwitchPreference
            android:defaultValue="true"
            android:key="fix_space"
            android:summary="@string/fix_space_summary"
            android:title="@string/fix_space_title" />

        <SwitchPreference
            android:key="play_arc_conf"
            android:summary="@string/play_arc_conf_summary"
            android:title="@string/play_arc_conf_title" />

        <SwitchPreference
            android:defaultValue="false"
            android:key="force_browser"
            android:summary="@string/force_browser_summary"
            android:title="@string/force_browser_title" />

        <SwitchPreference
            android:key="auto_generate_subtitle"
            android:summary="@string/generate_subtitle_summary"
            android:title="@string/generate_subtitle_title" />

        <SwitchPreference
            android:key="forbid_switch_live_room"
            android:summary="@string/forbid_switch_live_room_summary"
            android:title="@string/forbid_switch_live_room_title" />

        <SwitchPreference
            android:key="forbid_player_long_click_accelerate"
            android:summary="@string/forbid_player_long_click_accelerate_summary"
            android:title="@string/forbid_player_long_click_accelerate_title" />

        <SwitchPreference
            android:key="disable_live_room_double_click"
            android:summary="@string/disable_live_room_double_click_summary"
            android:title="@string/disable_live_room_double_click_title" />

        <SwitchPreference
            android:key="block_update"
            android:title="@string/block_update_title" />

        <SwitchPreference
            android:key="save_comment_image"
            android:summary="@string/save_comment_image_summary"
            android:title="@string/save_comment_image_title" />

        <Preference
            android:key="danmaku_filter"
            android:summary="@string/danmaku_filter_summary"
            android:title="@string/danmaku_filter_title" />

        <ListPreference
            android:defaultValue="0"
            android:dependency="main_func"
            android:entries="@array/half_screen_quality_entries"
            android:entryValues="@array/half_screen_quality_values"
            android:key="half_screen_quality"
            android:summary="@string/half_screen_quality_summary"
            android:title="@string/half_screen_quality_title" />

        <ListPreference
            android:defaultValue="0"
            android:dependency="main_func"
            android:entries="@array/full_screen_quality_entries"
            android:entryValues="@array/full_screen_quality_values"
            android:key="full_screen_quality"
            android:summary="@string/full_screen_quality_summary"
            android:title="@string/full_screen_quality_title" />

        <ListPreference
            android:defaultValue="0"
            android:entries="@array/live_quality_entries"
            android:entryValues="@array/live_quality_values"
            android:key="live_quality"
            android:summary="@string/live_quality_summary"
            android:title="@string/live_quality_title" />

        <SwitchPreference
            android:key="block_comment_guide"
            android:summary="@string/block_comment_guide_summary"
            android:title="@string/block_comment_guide_title" />

        <SwitchPreference
            android:key="disable_auto_refresh"
            android:summary="@string/disable_auto_refresh_summary"
            android:title="@string/disable_auto_refresh_title" />

        <!--
        <SwitchPreference
            android:key="disable_auto_select"
            android:summary="@string/disable_auto_select_summary"
            android:title="@string/disable_auto_select_title" />
            -->

        <SwitchPreference
            android:key="disable_vip_dm_colorful"
            android:summary="@string/disable_vip_dm_colorful_summary"
            android:title="@string/disable_vip_dm_colorful_title" />

        <Preference
            android:key="default_speed"
            android:summary="@string/default_speed_summary"
            android:title="@string/default_speed_title" />

        <ListPreference
            android:defaultValue="0"
            android:entries="@array/pegasus_cover_ratio_entries"
            android:entryValues="@array/pegasus_cover_ratio_values"
            android:key="pegasus_cover_ratio"
            android:summary="@string/pegasus_cover_ratio_summary"
            android:title="@string/pegasus_cover_ratio_title" />

        <SwitchPreference
            android:defaultValue="false"
            android:key="fake_non_multiwindow"
            android:summary="@string/fake_non_multiwindow_summary"
            android:title="@string/fake_non_multiwindow_title" />

        <Preference
            android:defaultValue="300"
            android:key="long_press_speed"
            android:title="@string/long_press_speed" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/pref_backup">
        <Preference
            android:key="pref_export"
            android:title="@string/pref_export_title" />
        <Preference
            android:key="pref_import"
            android:title="@string/pref_import_title" />
    </PreferenceCategory>
    <PreferenceCategory
        android:key="hidden_group"
        android:title="@string/hidden_group">

        <SwitchPreference
            android:defaultValue="false"
            android:key="hidden"
            android:summary="@string/hidden_summary"
            android:title="@string/hidden_title" />
        <Preference
            android:dependency="hidden"
            android:key="home_filter"
            android:summary="@string/home_filter_summary"
            android:title="@string/home_filter_title" />
        <Preference
            android:dependency="hidden"
            android:key="customize_bottom_bar"
            android:summary="@string/customize_bottom_bar_summary"
            android:title="@string/customize_bottom_bar_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="skip_reward_ad"
            android:summary="@string/skip_reward_ad_summary"
            android:title="@string/skip_reward_ad_title" />
        <Preference
            android:dependency="hidden"
            android:key="purify_story_video_ad"
            android:summary="@string/purify_story_video_ad_summary"
            android:title="@string/purify_story_video_ad_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="purify_game"
            android:summary="@string/purify_game_summary"
            android:title="@string/purify_game_title" />
        <Preference
            android:dependency="hidden"
            android:key="customize_drawer"
            android:summary="@string/customize_drawer_summary"
            android:title="@string/customize_drawer_title" />
        <SwitchPreference
            android:key="add_custom_button"
            android:summary="@string/add_custom_button_summary"
            android:title="@string/add_custom_button_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="purify_drawer_reddot"
            android:summary="@string/purify_drawer_reddot_summary"
            android:title="@string/purify_drawer_reddot_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="drawer_style_switch"
            android:summary="@string/drawer_style_switch_summary"
            android:title="@string/drawer_style_switch_title" />
        <SwitchPreference
            android:dependency="drawer_style_switch"
            android:key="drawer_style"
            android:summary="@string/drawer_style_summary"
            android:title="@string/drawer_style_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="purify_splash"
            android:summary="@string/purify_splash_summary"
            android:title="@string/purify_splash_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="purify_search"
            android:summary="@string/purify_search_summary"
            android:title="@string/purify_search_title" />
        <Preference
            android:dependency="hidden"
            android:key="filter_search"
            android:summary="@string/filter_search_summary"
            android:title="@string/filter_search_title" />
        <Preference
            android:dependency="hidden"
            android:key="filter_comment"
            android:summary="@string/filter_comment_summary"
            android:title="@string/filter_comment_title" />
        <MultiSelectListPreference
            android:dependency="hidden"
            android:entries="@array/tab_entries"
            android:entryValues="@array/tab_values"
            android:key="customize_home_tab"
            android:summary="@string/customize_home_tab_summary"
            android:title="@string/customize_home_tab_title" />
        <MultiSelectListPreference
            android:dependency="hidden"
            android:entries="@array/home_recommend_entries"
            android:entryValues="@array/home_recommend_values"
            android:key="customize_home_recommend"
            android:summary="@string/customize_home_recommend_summary"
            android:title="@string/customize_home_recommend_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="add_bangumi"
            android:summary="@string/add_bangumi_summary"
            android:title="@string/add_bangumi_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="add_movie"
            android:summary="@string/add_movie_summary"
            android:title="@string/add_movie_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="add_korea"
            android:summary="@string/add_korea_summary"
            android:title="@string/add_korea_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="search_area_bangumi"
            android:summary="@string/search_area_summary"
            android:title="@string/search_area_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="search_area_movie"
            android:summary="@string/search_area_movie_summary"
            android:title="@string/search_area_movie_title" />
        <Preference
            android:dependency="hidden"
            android:key="customize_accessKey"
            android:summary="@string/customize_accessKey_summary"
            android:title="@string/customize_accessKey_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="force_th_comment"
            android:summary="@string/force_th_comment_summary"
            android:title="@string/force_th_comment_title" />
        <Preference
            android:dependency="hidden"
            android:key="export_video"
            android:summary="@string/export_video_summary"
            android:title="@string/export_video_title" />
        <MultiSelectListPreference
            android:dependency="hidden"
            android:entries="@array/space_entries"
            android:entryValues="@array/space_values"
            android:key="customize_space"
            android:summary="@string/customize_space_summary"
            android:title="@string/customize_space_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="block_upper_recommend_ad"
            android:summary="@string/block_video_ad_summary"
            android:title="@string/block_video_ad_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="disable_try_watch_vip_quality"
            android:summary="@string/disable_try_watch_vip_quality_desc"
            android:title="@string/disable_try_watch_vip_quality_title" />
        <Preference
            android:dependency="hidden"
            android:key="customize_dynamic"
            android:summary="@string/customize_dynamic_summary"
            android:title="@string/customize_dynamic_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="remove_video_relate_promote"
            android:summary="@string/remove_video_relate_promote_summary"
            android:title="@string/remove_video_relate_promote_title" />
        <SwitchPreference
            android:dependency="remove_video_relate_promote"
            android:key="remove_video_relate_only_av"
            android:summary="@string/remove_video_relate_only_av_summary"
            android:title="@string/remove_video_relate_only_av_title" />
        <SwitchPreference
            android:dependency="remove_video_relate_only_av"
            android:key="remove_video_relate_nothing"
            android:summary="@string/remove_video_relate_nothing_summary"
            android:title="@string/remove_video_relate_nothing_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="remove_video_UgcSeason"
            android:summary="@string/remove_video_UgcSeason_summary"
            android:title="@string/remove_video_UgcSeason_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="remove_video_honor"
            android:summary="@string/remove_video_honor_summary"
            android:title="@string/remove_video_honor_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="remove_video_cmd_dms"
            android:summary="@string/remove_video_cmd_dms_summary"
            android:title="@string/remove_video_cmd_dms_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="block_word_search"
            android:summary="@string/block_word_search_summary"
            android:title="@string/block_word_search_title" />

        <SwitchPreference
            android:dependency="hidden"
            android:key="block_up_rcmd_ads"
            android:summary="@string/block_up_rcmd_ads_summary"
            android:title="@string/block_up_rcmd_ads_title" />

        <SwitchPreference
            android:dependency="hidden"
            android:key="block_view_page_ads"
            android:summary="@string/block_view_page_ads_summary"
            android:title="@string/block_view_page_ads_title" />

        <SwitchPreference
            android:dependency="hidden"
            android:key="block_live_order"
            android:summary="@string/block_live_order_summary"
            android:title="@string/block_live_order_title" />

        <SwitchPreference
            android:dependency="hidden"
            android:key="remove_up_vip_label"
            android:summary="@string/remove_up_vip_label_summary"
            android:title="@string/remove_up_vip_label_title" />

        <SwitchPreference
            android:dependency="hidden"
            android:key="no_live_mask"
            android:summary="@string/no_live_mask_summary"
            android:title="@string/no_live_mask_title" />
        <MultiSelectListPreference
            android:dependency="hidden"
            android:entries="@array/live_popup_entries"
            android:entryValues="@array/live_popup_values"
            android:key="purify_live_popups"
            android:summary="@string/purify_live_popups_summary"
            android:title="@string/purify_live_popups_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="block_modules"
            android:summary="@string/block_modules_summary"
            android:title="@string/block_modules_title" />
        <SwitchPreference
            android:key="remove_vip_section"
            android:summary="@string/remove_vip_section_summary"
            android:title="@string/remove_vip_section_title" />
        <SwitchPreference
            android:dependency="hidden"
            android:key="block_video_comment"
            android:title="@string/block_video_comment_title" />

        <SwitchPreference
            android:dependency="hidden"
            android:key="skip_video_ad"
            android:summary="@string/skip_video_ad_summary"
            android:title="@string/skip_video_ad_title" />

        <Preference
            android:key="copy_access_key"
            android:summary="@string/copy_access_key_summary"
            android:title="@string/copy_access_key_title" />
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/setting_category">
        <SwitchPreference
            android:defaultValue="true"
            android:key="show_info"
            android:summary="@string/show_info_summary"
            android:title="@string/show_info_title" />

        <SwitchPreference
            android:key="save_log"
            android:title="@string/save_log_title" />

        <Preference
            android:key="share_log"
            android:summary="@string/share_log_summary"
            android:title="@string/share_log_title" />
    </PreferenceCategory>

    <PreferenceCategory
        android:key="about"
        android:title="@string/about">

        <Preference
            android:key="version"
            android:title="@string/version" />

        <Preference
            android:key="author"
            android:summary="@string/author_list"
            android:title="@string/author">
            <intent
                android:action="android.intent.action.VIEW"
                android:data="@string/github_url" />
        </Preference>

        <Preference
            android:key="support"
            android:summary="@string/support_summary"
            android:title="@string/support">
            <intent
                android:action="android.intent.action.VIEW"
                android:data="@string/afdian_url" />
        </Preference>

        <Preference
            android:key="help"
            android:summary="@string/help_summary"
            android:title="@string/help_title">
            <intent
                android:action="android.intent.action.VIEW"
                android:data="@string/help_url" />
        </Preference>

        <Preference
            android:key="group"
            android:summary="@string/group_summary"
            android:title="@string/group_title">
            <intent
                android:action="android.intent.action.VIEW"
                android:data="@string/group_url" />
        </Preference>

        <Preference
            android:key="tg"
            android:summary="@string/tg_summary"
            android:title="@string/tg_title">
            <intent
                android:action="android.intent.action.VIEW"
                android:data="@string/tg_url" />
        </Preference>

    </PreferenceCategory>

</PreferenceScreen>
