1 <?xml version="1.0" encoding="utf-8"?>
4 SPDX-License-Identifier: GPL-3.0-or-later
5 SPDX-FileCopyrightText: 2016-2024 Soren Stoutner <soren@stoutner.com>
7 This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
9 This program is free software: you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free Software
11 Foundation, either version 3 of the License, or (at your option) any later
14 This program is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19 You should have received a copy of the GNU General Public License along with
20 this program. If not, see <https://www.gnu.org/licenses/>. -->
23 xmlns:app="http://schemas.android.com/apk/res-auto"
24 xmlns:android="http://schemas.android.com/apk/res/android">
27 app:key="@string/privacy_category_key"
28 app:title="@string/privacy" >
30 <SwitchPreferenceCompat
31 app:key="@string/javascript_key"
32 app:title="@string/javascript"
33 app:summary="@string/javascript_preference_summary"
34 app:defaultValue="false" />
36 <SwitchPreferenceCompat
37 app:key="@string/cookies_key"
38 app:title="@string/cookies"
39 app:summary="@string/cookies_preference_summary"
40 app:defaultValue="false" />
42 <SwitchPreferenceCompat
43 app:key="@string/dom_storage_key"
44 app:title="@string/dom_storage_preference"
45 app:summary="@string/dom_storage_preference_summary"
46 app:defaultValue="false" />
49 app:key="@string/user_agent_key"
50 app:title="@string/user_agent"
51 app:entries="@array/translated_user_agent_names"
52 app:entryValues="@array/user_agent_names"
53 app:defaultValue="@string/user_agent_default_value"
54 app:icon="@drawable/user_agent" />
56 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
58 app:key="@string/custom_user_agent_key"
59 app:title="@string/custom_user_agent"
60 app:defaultValue="@string/custom_user_agent_default_value"
61 android:inputType="textVisiblePassword|textMultiLine" />
63 <SwitchPreferenceCompat
64 app:key="@string/incognito_mode_key"
65 app:title="@string/incognito_mode"
66 app:summary="@string/incognito_mode_summary"
67 app:defaultValue="false" />
69 <SwitchPreferenceCompat
70 app:key="@string/allow_screenshots_key"
71 app:title="@string/allow_screenshots"
72 app:summary="@string/allow_screenshots_summary"
73 app:defaultValue="false" />
78 app:title="@string/filterlists" >
80 <SwitchPreferenceCompat
81 app:key="@string/easylist_key"
82 app:title="@string/easylist"
83 app:summary="@string/easylist_summary"
84 app:defaultValue="true" />
86 <SwitchPreferenceCompat
87 app:key="@string/easyprivacy_key"
88 app:title="@string/easyprivacy"
89 app:summary="@string/easyprivacy_summary"
90 app:defaultValue="true" />
92 <SwitchPreferenceCompat
93 app:key="@string/fanboys_annoyance_list_key"
94 app:title="@string/fanboys_annoyance_list"
95 app:summary="@string/fanboys_annoyance_list_summary"
96 app:defaultValue="true" />
98 <SwitchPreferenceCompat
99 app:key="@string/fanboys_social_blocking_list_key"
100 app:title="@string/fanboys_social_blocking_list"
101 app:summary="@string/fanboys_social_blocking_list_summary"
102 app:defaultValue="true" />
104 <SwitchPreferenceCompat
105 app:key="@string/ultralist_key"
106 app:title="@string/ultralist"
107 app:summary="@string/ultralist_summary"
108 app:defaultValue="true" />
110 <SwitchPreferenceCompat
111 app:key="@string/ultraprivacy_key"
112 app:title="@string/ultraprivacy"
113 app:summary="@string/ultraprivacy_summary"
114 app:defaultValue="true" />
116 <SwitchPreferenceCompat
117 app:key="@string/block_all_third_party_requests_key"
118 app:title="@string/block_all_third_party_requests"
119 app:summary="@string/block_all_third_party_requests_summary"
120 app:defaultValue="false" />
121 </PreferenceCategory>
124 app:key="url_modification"
125 app:title="@string/url_modification" >
127 <SwitchPreferenceCompat
128 app:key="@string/tracking_queries_key"
129 app:title="@string/tracking_queries"
130 app:summary="@string/tracking_queries_summary"
131 app:defaultValue="true" />
133 <SwitchPreferenceCompat
134 app:key="@string/amp_redirects_key"
135 app:title="@string/amp_redirects"
136 app:summary="@string/amp_redirects_summary"
137 app:defaultValue="true" />
138 </PreferenceCategory>
141 app:key="search_category"
142 app:title="@string/search" >
145 app:key="@string/search_key"
146 app:title="@string/search"
147 app:entries="@array/search_entries"
148 app:entryValues="@array/search_entry_values"
149 app:defaultValue="@string/search_default_value"
150 app:icon="@drawable/search_blue" />
153 app:key="@string/search_custom_url_key"
154 app:title="@string/search_custom_url"
155 app:defaultValue="@string/search_custom_url_default_value"
156 android:inputType="textUri" />
157 </PreferenceCategory>
160 app:key="proxy_category"
161 app:title="@string/proxy" >
164 app:key="@string/proxy_key"
165 app:title="@string/proxy"
166 app:entries="@array/proxy_entries"
167 app:entryValues="@array/proxy_entry_values"
168 app:defaultValue="@string/proxy_default_value" />
171 app:key="@string/proxy_custom_url_key"
172 app:title="@string/proxy_custom_url"
173 app:defaultValue="@string/proxy_custom_url_default_value"
174 android:inputType="textUri" />
175 </PreferenceCategory>
178 app:key="@string/full_screen_category_key"
179 app:title="@string/full_screen" >
181 <SwitchPreferenceCompat
182 app:key="@string/full_screen_browsing_mode_key"
183 app:title="@string/full_screen_browsing_mode"
184 app:summary="@string/full_screen_browsing_mode_summary"
185 app:defaultValue="false" />
187 <SwitchPreferenceCompat
188 app:key="@string/hide_app_bar_key"
189 app:title="@string/hide_app_bar"
190 app:summary="@string/hide_app_bar_summary"
191 app:defaultValue="true" />
193 <SwitchPreferenceCompat
194 app:key="@string/display_under_cutouts_key"
195 app:title="@string/display_under_cutouts"
196 app:summary="@string/display_under_cutouts_summary"
197 app:defaultValue="false" />
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 <SwitchPreferenceCompat
223 app:key="@string/clear_logcat_key"
224 app:title="@string/clear_logcat"
225 app:summary="@string/clear_logcat_summary"
226 app:defaultValue="true" />
228 <SwitchPreferenceCompat
229 app:key="@string/clear_cache_key"
230 app:title="@string/clear_cache"
231 app:summary="@string/clear_cache_summary"
232 app:defaultValue="true" />
233 </PreferenceCategory>
236 app:key="@string/general_category_key"
237 app:title="@string/general" >
240 app:key="@string/homepage_key"
241 app:title="@string/homepage"
242 app:defaultValue="@string/homepage_default_value"
243 android:inputType="textUri"
244 app:icon="@drawable/home" />
246 <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
248 app:key="@string/font_size_key"
249 app:title="@string/font_size_preference"
250 app:defaultValue="@string/font_size_default_value"
251 android:inputType="number"
252 app:icon="@drawable/font_size" />
254 <SwitchPreferenceCompat
255 app:key="@string/open_intents_in_new_tab_key"
256 app:title="@string/open_intents_in_new_tab"
257 app:summary="@string/open_intents_in_new_tab_summary"
258 app:defaultValue="true" />
260 <SwitchPreferenceCompat
261 app:key="@string/swipe_to_refresh_key"
262 app:title="@string/swipe_to_refresh"
263 app:summary="@string/swipe_to_refresh_summary"
264 app:defaultValue="true" />
267 app:key="@string/download_provider_key"
268 app:title="@string/download_provider"
269 app:entries="@array/download_provider_entries"
270 app:entryValues="@array/download_provider_entry_values"
271 app:defaultValue="@string/download_provider_default_value"
272 app:icon="@drawable/download" />
274 <SwitchPreferenceCompat
275 app:key="@string/scroll_app_bar_key"
276 app:title="@string/scroll_app_bar"
277 app:summary="@string/scroll_app_bar_summary"
278 app:defaultValue="false" />
280 <SwitchPreferenceCompat
281 app:key="@string/bottom_app_bar_key"
282 app:title="@string/bottom_app_bar"
283 app:summary="@string/bottom_app_bar_summary"
284 app:defaultValue="false" />
286 <SwitchPreferenceCompat
287 app:key="@string/display_additional_app_bar_icons_key"
288 app:title="@string/display_additional_app_bar_icons"
289 app:summary="@string/display_additional_app_bar_icons_summary"
290 app:defaultValue="false" />
292 <SwitchPreferenceCompat
293 app:key="@string/sort_bookmarks_alphabetically_key"
294 app:title="@string/sort_bookmarks_alphabetically"
295 app:summary="@string/sort_bookmarks_alphabetically_summary"
296 app:defaultValue="false" />
299 app:key="@string/app_theme_key"
300 app:title="@string/app_theme"
301 app:entries="@array/app_theme_entries"
302 app:entryValues="@array/app_theme_entry_values"
303 app:defaultValue="@string/app_theme_default_value"
304 app:icon="@drawable/app_theme" />
307 app:key="@string/webview_theme_key"
308 app:title="@string/webview_theme"
309 app:entries="@array/webview_theme_entries"
310 app:entryValues="@array/webview_theme_entry_values"
311 app:defaultValue="@string/webview_theme_default_value" />
313 <SwitchPreferenceCompat
314 app:key="@string/wide_viewport_key"
315 app:title="@string/wide_viewport_preference"
316 app:summary="@string/wide_viewport_summary"
317 app:defaultValue="true" />
319 <SwitchPreferenceCompat
320 app:key="@string/display_webpage_images_key"
321 app:title="@string/display_webpage_images"
322 app:summary="@string/display_webpage_images_summary"
323 app:defaultValue="true" />
324 </PreferenceCategory>