+
+ <!-- Save form data can be removed once the minimum API >= 26. -->
+ <SwitchPreferenceCompat
+ android:key="@string/save_form_data_key"
+ android:title="@string/save_form_data_preference"
+ android:summary="@string/save_form_data_preference_summary"
+ android:defaultValue="false" />
+
+ <ListPreference
+ android:key="@string/user_agent_key"
+ android:title="@string/user_agent"
+ android:entries="@array/translated_user_agent_names"
+ android:entryValues="@array/user_agent_names"
+ android:defaultValue="@string/user_agent_default_value"
+ android:icon="@drawable/user_agent" />
+
+ <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
+ <EditTextPreference
+ android:key="@string/custom_user_agent_key"
+ android:title="@string/custom_user_agent"
+ android:defaultValue="@string/custom_user_agent_default_value"
+ android:inputType="textVisiblePassword|textMultiLine" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/incognito_mode_key"
+ android:title="@string/incognito_mode"
+ android:summary="@string/incognito_mode_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/allow_screenshots_key"
+ android:title="@string/allow_screenshots"
+ android:summary="@string/allow_screenshots_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="blocklists"
+ android:title="@string/blocklists" >
+
+ <SwitchPreferenceCompat
+ android:key="@string/easylist_key"
+ android:title="@string/easylist"
+ android:summary="@string/easylist_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/easyprivacy_key"
+ android:title="@string/easyprivacy"
+ android:summary="@string/easyprivacy_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/fanboys_annoyance_list_key"
+ android:title="@string/fanboys_annoyance_list"
+ android:summary="@string/fanboys_annoyance_list_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/fanboys_social_blocking_list_key"
+ android:title="@string/fanboys_social_blocking_list"
+ android:summary="@string/fanboys_social_blocking_list_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/ultralist_key"
+ android:title="@string/ultralist"
+ android:summary="@string/ultralist_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/ultraprivacy_key"
+ android:title="@string/ultraprivacy"
+ android:summary="@string/ultraprivacy_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/block_all_third_party_requests_key"
+ android:title="@string/block_all_third_party_requests"
+ android:summary="@string/block_all_third_party_requests_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="url_modification"
+ android:title="@string/url_modification" >
+
+ <SwitchPreferenceCompat
+ android:key="@string/tracking_queries_key"
+ android:title="@string/tracking_queries"
+ android:summary="@string/tracking_queries_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/amp_redirects_key"
+ android:title="@string/amp_redirects"
+ android:summary="@string/amp_redirects_summary"
+ android:defaultValue="true" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="search_category"
+ android:title="@string/search" >
+
+ <ListPreference
+ android:key="@string/search_key"
+ android:title="@string/search"
+ android:entries="@array/search_entries"
+ android:entryValues="@array/search_entry_values"
+ android:defaultValue="@string/search_default_value"
+ android:icon="@drawable/search" />
+
+ <EditTextPreference
+ android:key="@string/search_custom_url_key"
+ android:title="@string/search_custom_url"
+ android:defaultValue="@string/search_custom_url_default_value"
+ android:inputType="textUri" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="proxy_category"
+ android:title="@string/proxy" >
+
+ <ListPreference
+ android:key="@string/proxy_key"
+ android:title="@string/proxy"
+ android:entries="@array/proxy_entries"
+ android:entryValues="@array/proxy_entry_values"
+ android:defaultValue="@string/proxy_default_value" />
+
+ <EditTextPreference
+ 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" >
+
+ <SwitchPreferenceCompat
+ 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" />
+
+ <SwitchPreferenceCompat
+ android:key="@string/hide_app_bar_key"
+ android:title="@string/hide_app_bar"
+ android:summary="@string/hide_app_bar_summary"
+ android:defaultValue="true" />