1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2016-2022 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
8 Privacy Browser Android is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser Android is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser Android. If not, see <http://www.gnu.org/licenses/>. -->
22 xmlns:app="http://schemas.android.com/apk/res-auto"
23 xmlns:android="http://schemas.android.com/apk/res/android">
26 app:key="@string/privacy_category_key"
27 app:title="@string/privacy" >
29 <SwitchPreferenceCompat
30 app:key="@string/javascript_key"
31 app:title="@string/javascript"
32 app:summary="@string/javascript_preference_summary"
33 app:defaultValue="false" />
35 <SwitchPreferenceCompat
36 app:key="@string/cookies_key"
37 app:title="@string/cookies"
38 app:summary="@string/cookies_preference_summary"
39 app:defaultValue="false" />
41 <SwitchPreferenceCompat
42 app:key="@string/dom_storage_key"
43 app:title="@string/dom_storage_preference"
44 app:summary="@string/dom_storage_preference_summary"
45 app:defaultValue="false" />
47 <!-- Save form data can be removed once the minimum API >= 26. -->
48 <SwitchPreferenceCompat
49 app:key="@string/save_form_data_key"
50 app:title="@string/save_form_data_preference"
51 app:summary="@string/save_form_data_preference_summary"
52 app:defaultValue="false" />
55 app:key="@string/user_agent_key"
56 app:title="@string/user_agent"
57 app:entries="@array/translated_user_agent_names"
58 app:entryValues="@array/user_agent_names"
59 app:defaultValue="@string/user_agent_default_value"
60 app:icon="@drawable/user_agent" />
62 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
64 app:key="@string/custom_user_agent_key"
65 app:title="@string/custom_user_agent"
66 app:defaultValue="@string/custom_user_agent_default_value"
67 android:inputType="textVisiblePassword|textMultiLine" />
69 <SwitchPreferenceCompat
70 app:key="@string/incognito_mode_key"
71 app:title="@string/incognito_mode"
72 app:summary="@string/incognito_mode_summary"
73 app:defaultValue="false" />
75 <SwitchPreferenceCompat
76 app:key="@string/allow_screenshots_key"
77 app:title="@string/allow_screenshots"
78 app:summary="@string/allow_screenshots_summary"
79 app:defaultValue="false" />
84 app:title="@string/blocklists" >
86 <SwitchPreferenceCompat
87 app:key="@string/easylist_key"
88 app:title="@string/easylist"
89 app:summary="@string/easylist_summary"
90 app:defaultValue="true" />
92 <SwitchPreferenceCompat
93 app:key="@string/easyprivacy_key"
94 app:title="@string/easyprivacy"
95 app:summary="@string/easyprivacy_summary"
96 app:defaultValue="true" />
98 <SwitchPreferenceCompat
99 app:key="@string/fanboys_annoyance_list_key"
100 app:title="@string/fanboys_annoyance_list"
101 app:summary="@string/fanboys_annoyance_list_summary"
102 app:defaultValue="true" />
104 <SwitchPreferenceCompat
105 app:key="@string/fanboys_social_blocking_list_key"
106 app:title="@string/fanboys_social_blocking_list"
107 app:summary="@string/fanboys_social_blocking_list_summary"
108 app:defaultValue="true" />
110 <SwitchPreferenceCompat
111 app:key="@string/ultralist_key"
112 app:title="@string/ultralist"
113 app:summary="@string/ultralist_summary"
114 app:defaultValue="true" />
116 <SwitchPreferenceCompat
117 app:key="@string/ultraprivacy_key"
118 app:title="@string/ultraprivacy"
119 app:summary="@string/ultraprivacy_summary"
120 app:defaultValue="true" />
122 <SwitchPreferenceCompat
123 app:key="@string/block_all_third_party_requests_key"
124 app:title="@string/block_all_third_party_requests"
125 app:summary="@string/block_all_third_party_requests_summary"
126 app:defaultValue="false" />
127 </PreferenceCategory>
130 app:key="url_modification"
131 app:title="@string/url_modification" >
133 <SwitchPreferenceCompat
134 app:key="@string/tracking_queries_key"
135 app:title="@string/tracking_queries"
136 app:summary="@string/tracking_queries_summary"
137 app:defaultValue="true" />
139 <SwitchPreferenceCompat
140 app:key="@string/amp_redirects_key"
141 app:title="@string/amp_redirects"
142 app:summary="@string/amp_redirects_summary"
143 app:defaultValue="true" />
144 </PreferenceCategory>
147 app:key="search_category"
148 app:title="@string/search" >
151 app:key="@string/search_key"
152 app:title="@string/search"
153 app:entries="@array/search_entries"
154 app:entryValues="@array/search_entry_values"
155 app:defaultValue="@string/search_default_value"
156 app:icon="@drawable/search" />
159 app:key="@string/search_custom_url_key"
160 app:title="@string/search_custom_url"
161 app:defaultValue="@string/search_custom_url_default_value"
162 android:inputType="textUri" />
163 </PreferenceCategory>
166 app:key="proxy_category"
167 app:title="@string/proxy" >
170 app:key="@string/proxy_key"
171 app:title="@string/proxy"
172 app:entries="@array/proxy_entries"
173 app:entryValues="@array/proxy_entry_values"
174 app:defaultValue="@string/proxy_default_value" />
177 app:key="@string/proxy_custom_url_key"
178 app:title="@string/proxy_custom_url"
179 app:defaultValue="@string/proxy_custom_url_default_value"
180 android:inputType="textUri" />
181 </PreferenceCategory>
184 app:key="full_screen"
185 app:title="@string/full_screen" >
187 <SwitchPreferenceCompat
188 app:key="@string/full_screen_browsing_mode_key"
189 app:title="@string/full_screen_browsing_mode"
190 app:summary="@string/full_screen_browsing_mode_summary"
191 app:defaultValue="false" />
193 <SwitchPreferenceCompat
194 app:key="@string/hide_app_bar_key"
195 app:title="@string/hide_app_bar"
196 app:summary="@string/hide_app_bar_summary"
197 app:defaultValue="true" />
198 </PreferenceCategory>
201 app:key="@string/clear_and_exit_category_key"
202 app:title="@string/clear_and_exit" >
204 <SwitchPreferenceCompat
205 app:key="@string/clear_everything_key"
206 app:title="@string/clear_everything"
207 app:summary="@string/clear_everything_summary"
208 app:defaultValue="true" />
210 <SwitchPreferenceCompat
211 app:key="@string/clear_cookies_key"
212 app:title="@string/clear_cookies_preference"
213 app:summary="@string/clear_cookies_summary"
214 app:defaultValue="true" />
216 <SwitchPreferenceCompat
217 app:key="@string/clear_dom_storage_key"
218 app:title="@string/clear_dom_storage_preference"
219 app:summary="@string/clear_dom_storage_summary"
220 app:defaultValue="true" />
222 <!-- Clear form data can be removed once the minimum API >= 26. -->
223 <SwitchPreferenceCompat
224 app:key="@string/clear_form_data_key"
225 app:title="@string/clear_form_data_preference"
226 app:summary="@string/clear_form_data_summary"
227 app:defaultValue="true" />
229 <SwitchPreferenceCompat
230 app:key="@string/clear_logcat_key"
231 app:title="@string/clear_logcat"
232 app:summary="@string/clear_logcat_summary"
233 app:defaultValue="true" />
235 <SwitchPreferenceCompat
236 app:key="@string/clear_cache_key"
237 app:title="@string/clear_cache"
238 app:summary="@string/clear_cache_summary"
239 app:defaultValue="true" />
240 </PreferenceCategory>
243 app:key="@string/general_category_key"
244 app:title="@string/general" >
247 app:key="@string/homepage_key"
248 app:title="@string/homepage"
249 app:defaultValue="@string/homepage_default_value"
250 android:inputType="textUri"
251 app:icon="@drawable/home" />
253 <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
255 app:key="@string/font_size_key"
256 app:title="@string/font_size_preference"
257 app:defaultValue="@string/font_size_default_value"
258 android:inputType="number"
259 app:icon="@drawable/font_size" />
261 <SwitchPreferenceCompat
262 app:key="@string/open_intents_in_new_tab_key"
263 app:title="@string/open_intents_in_new_tab"
264 app:summary="@string/open_intents_in_new_tab_summary"
265 app:defaultValue="true" />
267 <SwitchPreferenceCompat
268 app:key="@string/swipe_to_refresh_key"
269 app:title="@string/swipe_to_refresh"
270 app:summary="@string/swipe_to_refresh_summary"
271 app:defaultValue="true" />
273 <SwitchPreferenceCompat
274 app:key="@string/download_with_external_app_key"
275 app:title="@string/download_with_external_app"
276 app:summary="@string/download_with_external_app_summary"
277 app:defaultValue="false" />
279 <SwitchPreferenceCompat
280 app:key="@string/scroll_app_bar_key"
281 app:title="@string/scroll_app_bar"
282 app:summary="@string/scroll_app_bar_summary"
283 app:defaultValue="true" />
285 <SwitchPreferenceCompat
286 app:key="@string/bottom_app_bar_key"
287 app:title="@string/bottom_app_bar"
288 app:summary="@string/bottom_app_bar_summary"
289 app:defaultValue="false" />
291 <SwitchPreferenceCompat
292 app:key="@string/display_additional_app_bar_icons_key"
293 app:title="@string/display_additional_app_bar_icons"
294 app:summary="@string/display_additional_app_bar_icons_summary"
295 app:defaultValue="false" />
298 app:key="@string/app_theme_key"
299 app:title="@string/app_theme"
300 app:entries="@array/app_theme_entries"
301 app:entryValues="@array/app_theme_entry_values"
302 app:defaultValue="@string/app_theme_default_value"
303 app:icon="@drawable/app_theme" />
306 app:key="@string/webview_theme_key"
307 app:title="@string/webview_theme"
308 app:entries="@array/webview_theme_entries"
309 app:entryValues="@array/webview_theme_entry_values"
310 app:defaultValue="@string/webview_theme_default_value" />
312 <SwitchPreferenceCompat
313 app:key="@string/wide_viewport_key"
314 app:title="@string/wide_viewport_preference"
315 app:summary="@string/wide_viewport_summary"
316 app:defaultValue="true" />
318 <SwitchPreferenceCompat
319 app:key="@string/display_webpage_images_key"
320 app:title="@string/display_webpage_images"
321 app:summary="@string/display_webpage_images_summary"
322 app:defaultValue="true" />
323 </PreferenceCategory>