+ android:key="@string/proxy_custom_url_key"
+ android:title="@string/proxy_custom_url"
+ android:defaultValue="@string/proxy_custom_url_default_value"
+ android:inputType="textUri" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="full_screen"
+ android:title="@string/full_screen" >
+
+ <SwitchPreference
+ android:key="@string/full_screen_browsing_mode_key"
+ android:title="@string/full_screen_browsing_mode"
+ android:summary="@string/full_screen_browsing_mode_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
+ android:key="@string/hide_app_bar_key"
+ android:title="@string/hide_app_bar"
+ android:summary="@string/hide_app_bar_summary"
+ android:defaultValue="true" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="@string/clear_and_exit_category_key"
+ android:title="@string/clear_and_exit" >
+
+ <SwitchPreference
+ android:key="@string/clear_everything_key"
+ android:title="@string/clear_everything"
+ android:summary="@string/clear_everything_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/clear_cookies_key"
+ android:title="@string/clear_cookies_preference"
+ android:summary="@string/clear_cookies_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/clear_dom_storage_key"
+ android:title="@string/clear_dom_storage_preference"
+ android:summary="@string/clear_dom_storage_summary"
+ android:defaultValue="true" />
+
+ <!-- Clear form data can be removed once the minimum API >= 26. -->
+ <SwitchPreference
+ android:key="@string/clear_form_data_key"
+ android:title="@string/clear_form_data_preference"
+ android:summary="@string/clear_form_data_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/clear_logcat_key"
+ android:title="@string/clear_logcat"
+ android:summary="@string/clear_logcat_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/clear_cache_key"
+ android:title="@string/clear_cache"
+ android:summary="@string/clear_cache_summary"
+ android:defaultValue="true" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="general"
+ android:title="@string/general" >
+
+ <EditTextPreference
+ android:key="@string/homepage_key"
+ android:title="@string/homepage"
+ android:defaultValue="@string/homepage_default_value"
+ android:inputType="textUri"
+ android:icon="@drawable/home" />
+
+ <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
+ <EditTextPreference
+ android:key="@string/font_size_key"
+ android:title="@string/font_size_preference"
+ android:defaultValue="@string/font_size_default_value"
+ android:inputType="number"
+ android:icon="@drawable/font_size" />
+
+ <SwitchPreference
+ android:key="@string/open_intents_in_new_tab_key"
+ android:title="@string/open_intents_in_new_tab"
+ android:summary="@string/open_intents_in_new_tab_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/swipe_to_refresh_key"
+ android:title="@string/swipe_to_refresh"
+ android:summary="@string/swipe_to_refresh_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/download_with_external_app_key"
+ android:title="@string/download_with_external_app"
+ android:summary="@string/download_with_external_app_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
+ android:key="@string/scroll_app_bar_key"
+ android:title="@string/scroll_app_bar"
+ android:summary="@string/scroll_app_bar_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/bottom_app_bar_key"
+ android:title="@string/bottom_app_bar"
+ android:summary="@string/bottom_app_bar_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
+ android:key="@string/display_additional_app_bar_icons_key"
+ android:title="@string/display_additional_app_bar_icons"
+ android:summary="@string/display_additional_app_bar_icons_summary"
+ android:defaultValue="false" />
+
+ <ListPreference
+ android:key="@string/app_theme_key"
+ android:title="@string/app_theme"
+ android:entries="@array/app_theme_entries"
+ android:entryValues="@array/app_theme_entry_values"
+ android:defaultValue="@string/app_theme_default_value"
+ android:icon="@drawable/app_theme" />
+
+ <ListPreference
+ android:key="@string/webview_theme_key"
+ android:title="@string/webview_theme"
+ android:entries="@array/webview_theme_entries"
+ android:entryValues="@array/webview_theme_entry_values"
+ android:defaultValue="@string/webview_theme_default_value" />
+
+ <SwitchPreference
+ android:key="@string/wide_viewport_key"
+ android:title="@string/wide_viewport_preference"
+ android:summary="@string/wide_viewport_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="@string/display_webpage_images_key"
+ android:title="@string/display_webpage_images"
+ android:summary="@string/display_webpage_images_summary"
+ android:defaultValue="true" />