1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2016-2024 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" />
48 app:key="@string/user_agent_key"
49 app:title="@string/user_agent"
50 app:entries="@array/translated_user_agent_names"
51 app:entryValues="@array/user_agent_names"
52 app:defaultValue="@string/user_agent_default_value"
53 app:icon="@drawable/user_agent" />
55 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
57 app:key="@string/custom_user_agent_key"
58 app:title="@string/custom_user_agent"
59 app:defaultValue="@string/custom_user_agent_default_value"
60 android:inputType="textVisiblePassword|textMultiLine" />
62 <SwitchPreferenceCompat
63 app:key="@string/incognito_mode_key"
64 app:title="@string/incognito_mode"
65 app:summary="@string/incognito_mode_summary"
66 app:defaultValue="false" />
68 <SwitchPreferenceCompat
69 app:key="@string/allow_screenshots_key"
70 app:title="@string/allow_screenshots"
71 app:summary="@string/allow_screenshots_summary"
72 app:defaultValue="false" />
77 app:title="@string/filterlists" >
79 <SwitchPreferenceCompat
80 app:key="@string/easylist_key"
81 app:title="@string/easylist"
82 app:summary="@string/easylist_summary"
83 app:defaultValue="true" />
85 <SwitchPreferenceCompat
86 app:key="@string/easyprivacy_key"
87 app:title="@string/easyprivacy"
88 app:summary="@string/easyprivacy_summary"
89 app:defaultValue="true" />
91 <SwitchPreferenceCompat
92 app:key="@string/fanboys_annoyance_list_key"
93 app:title="@string/fanboys_annoyance_list"
94 app:summary="@string/fanboys_annoyance_list_summary"
95 app:defaultValue="true" />
97 <SwitchPreferenceCompat
98 app:key="@string/fanboys_social_blocking_list_key"
99 app:title="@string/fanboys_social_blocking_list"
100 app:summary="@string/fanboys_social_blocking_list_summary"
101 app:defaultValue="true" />
103 <SwitchPreferenceCompat
104 app:key="@string/ultralist_key"
105 app:title="@string/ultralist"
106 app:summary="@string/ultralist_summary"
107 app:defaultValue="true" />
109 <SwitchPreferenceCompat
110 app:key="@string/ultraprivacy_key"
111 app:title="@string/ultraprivacy"
112 app:summary="@string/ultraprivacy_summary"
113 app:defaultValue="true" />
115 <SwitchPreferenceCompat
116 app:key="@string/block_all_third_party_requests_key"
117 app:title="@string/block_all_third_party_requests"
118 app:summary="@string/block_all_third_party_requests_summary"
119 app:defaultValue="false" />
120 </PreferenceCategory>
123 app:key="url_modification"
124 app:title="@string/url_modification" >
126 <SwitchPreferenceCompat
127 app:key="@string/tracking_queries_key"
128 app:title="@string/tracking_queries"
129 app:summary="@string/tracking_queries_summary"
130 app:defaultValue="true" />
132 <SwitchPreferenceCompat
133 app:key="@string/amp_redirects_key"
134 app:title="@string/amp_redirects"
135 app:summary="@string/amp_redirects_summary"
136 app:defaultValue="true" />
137 </PreferenceCategory>
140 app:key="search_category"
141 app:title="@string/search" >
144 app:key="@string/search_key"
145 app:title="@string/search"
146 app:entries="@array/search_entries"
147 app:entryValues="@array/search_entry_values"
148 app:defaultValue="@string/search_default_value"
149 app:icon="@drawable/search" />
152 app:key="@string/search_custom_url_key"
153 app:title="@string/search_custom_url"
154 app:defaultValue="@string/search_custom_url_default_value"
155 android:inputType="textUri" />
156 </PreferenceCategory>
159 app:key="proxy_category"
160 app:title="@string/proxy" >
163 app:key="@string/proxy_key"
164 app:title="@string/proxy"
165 app:entries="@array/proxy_entries"
166 app:entryValues="@array/proxy_entry_values"
167 app:defaultValue="@string/proxy_default_value" />
170 app:key="@string/proxy_custom_url_key"
171 app:title="@string/proxy_custom_url"
172 app:defaultValue="@string/proxy_custom_url_default_value"
173 android:inputType="textUri" />
174 </PreferenceCategory>
177 app:key="full_screen"
178 app:title="@string/full_screen" >
180 <SwitchPreferenceCompat
181 app:key="@string/full_screen_browsing_mode_key"
182 app:title="@string/full_screen_browsing_mode"
183 app:summary="@string/full_screen_browsing_mode_summary"
184 app:defaultValue="false" />
186 <SwitchPreferenceCompat
187 app:key="@string/hide_app_bar_key"
188 app:title="@string/hide_app_bar"
189 app:summary="@string/hide_app_bar_summary"
190 app:defaultValue="true" />
192 <SwitchPreferenceCompat
193 app:key="@string/display_under_cutouts_key"
194 app:title="@string/display_under_cutouts"
195 app:summary="@string/display_under_cutouts_summary"
196 app:defaultValue="false" />
197 </PreferenceCategory>
200 app:key="@string/clear_and_exit_category_key"
201 app:title="@string/clear_and_exit" >
203 <SwitchPreferenceCompat
204 app:key="@string/clear_everything_key"
205 app:title="@string/clear_everything"
206 app:summary="@string/clear_everything_summary"
207 app:defaultValue="true" />
209 <SwitchPreferenceCompat
210 app:key="@string/clear_cookies_key"
211 app:title="@string/clear_cookies_preference"
212 app:summary="@string/clear_cookies_summary"
213 app:defaultValue="true" />
215 <SwitchPreferenceCompat
216 app:key="@string/clear_dom_storage_key"
217 app:title="@string/clear_dom_storage_preference"
218 app:summary="@string/clear_dom_storage_summary"
219 app:defaultValue="true" />
221 <SwitchPreferenceCompat
222 app:key="@string/clear_logcat_key"
223 app:title="@string/clear_logcat"
224 app:summary="@string/clear_logcat_summary"
225 app:defaultValue="true" />
227 <SwitchPreferenceCompat
228 app:key="@string/clear_cache_key"
229 app:title="@string/clear_cache"
230 app:summary="@string/clear_cache_summary"
231 app:defaultValue="true" />
232 </PreferenceCategory>
235 app:key="@string/general_category_key"
236 app:title="@string/general" >
239 app:key="@string/homepage_key"
240 app:title="@string/homepage"
241 app:defaultValue="@string/homepage_default_value"
242 android:inputType="textUri"
243 app:icon="@drawable/home" />
245 <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
247 app:key="@string/font_size_key"
248 app:title="@string/font_size_preference"
249 app:defaultValue="@string/font_size_default_value"
250 android:inputType="number"
251 app:icon="@drawable/font_size" />
253 <SwitchPreferenceCompat
254 app:key="@string/open_intents_in_new_tab_key"
255 app:title="@string/open_intents_in_new_tab"
256 app:summary="@string/open_intents_in_new_tab_summary"
257 app:defaultValue="true" />
259 <SwitchPreferenceCompat
260 app:key="@string/swipe_to_refresh_key"
261 app:title="@string/swipe_to_refresh"
262 app:summary="@string/swipe_to_refresh_summary"
263 app:defaultValue="true" />
266 app:key="@string/download_provider_key"
267 app:title="@string/download_provider"
268 app:entries="@array/download_provider_entries"
269 app:entryValues="@array/download_provider_entry_values"
270 app:defaultValue="@string/download_provider_default_value"
271 app:icon="@drawable/download" />
273 <SwitchPreferenceCompat
274 app:key="@string/scroll_app_bar_key"
275 app:title="@string/scroll_app_bar"
276 app:summary="@string/scroll_app_bar_summary"
277 app:defaultValue="false" />
279 <SwitchPreferenceCompat
280 app:key="@string/bottom_app_bar_key"
281 app:title="@string/bottom_app_bar"
282 app:summary="@string/bottom_app_bar_summary"
283 app:defaultValue="false" />
285 <SwitchPreferenceCompat
286 app:key="@string/display_additional_app_bar_icons_key"
287 app:title="@string/display_additional_app_bar_icons"
288 app:summary="@string/display_additional_app_bar_icons_summary"
289 app:defaultValue="false" />
292 app:key="@string/app_theme_key"
293 app:title="@string/app_theme"
294 app:entries="@array/app_theme_entries"
295 app:entryValues="@array/app_theme_entry_values"
296 app:defaultValue="@string/app_theme_default_value"
297 app:icon="@drawable/app_theme" />
300 app:key="@string/webview_theme_key"
301 app:title="@string/webview_theme"
302 app:entries="@array/webview_theme_entries"
303 app:entryValues="@array/webview_theme_entry_values"
304 app:defaultValue="@string/webview_theme_default_value" />
306 <SwitchPreferenceCompat
307 app:key="@string/wide_viewport_key"
308 app:title="@string/wide_viewport_preference"
309 app:summary="@string/wide_viewport_summary"
310 app:defaultValue="true" />
312 <SwitchPreferenceCompat
313 app:key="@string/display_webpage_images_key"
314 app:title="@string/display_webpage_images"
315 app:summary="@string/display_webpage_images_summary"
316 app:defaultValue="true" />
317 </PreferenceCategory>