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/>. -->
21 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
24 android:title="@string/privacy" >
27 android:key="javascript"
28 android:title="@string/javascript"
29 android:summary="@string/javascript_preference_summary"
30 android:defaultValue="false" />
34 android:title="@string/cookies"
35 android:summary="@string/cookies_preference_summary"
36 android:defaultValue="false" />
39 android:key="dom_storage"
40 android:title="@string/dom_storage_preference"
41 android:summary="@string/dom_storage_preference_summary"
42 android:defaultValue="false" />
44 <!-- Save form data can be removed once the minimum API >= 26. -->
46 android:key="save_form_data"
47 android:title="@string/save_form_data_preference"
48 android:summary="@string/save_form_data_preference_summary"
49 android:defaultValue="false" />
52 android:key="user_agent"
53 android:title="@string/user_agent"
54 android:entries="@array/translated_user_agent_names"
55 android:entryValues="@array/user_agent_names"
56 android:defaultValue="@string/user_agent_default_value"
57 android:icon="@drawable/user_agent" />
59 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
61 android:key="custom_user_agent"
62 android:title="@string/custom_user_agent"
63 android:defaultValue="@string/custom_user_agent_default_value"
64 android:inputType="textVisiblePassword|textMultiLine" />
67 android:key="incognito_mode"
68 android:title="@string/incognito_mode"
69 android:summary="@string/incognito_mode_summary"
70 android:defaultValue="false" />
73 android:key="allow_screenshots"
74 android:title="@string/allow_screenshots"
75 android:summary="@string/allow_screenshots_summary"
76 android:defaultValue="false" />
80 android:key="blocklists"
81 android:title="@string/blocklists" >
84 android:key="easylist"
85 android:title="@string/easylist"
86 android:summary="@string/easylist_summary"
87 android:defaultValue="true" />
90 android:key="easyprivacy"
91 android:title="@string/easyprivacy"
92 android:summary="@string/easyprivacy_summary"
93 android:defaultValue="true" />
96 android:key="fanboys_annoyance_list"
97 android:title="@string/fanboys_annoyance_list"
98 android:summary="@string/fanboys_annoyance_list_summary"
99 android:defaultValue="true" />
102 android:key="fanboys_social_blocking_list"
103 android:title="@string/fanboys_social_blocking_list"
104 android:summary="@string/fanboys_social_blocking_list_summary"
105 android:defaultValue="true" />
108 android:key="ultralist"
109 android:title="@string/ultralist"
110 android:summary="@string/ultralist_summary"
111 android:defaultValue="true" />
114 android:key="ultraprivacy"
115 android:title="@string/ultraprivacy"
116 android:summary="@string/ultraprivacy_summary"
117 android:defaultValue="true" />
120 android:key="block_all_third_party_requests"
121 android:title="@string/block_all_third_party_requests"
122 android:summary="@string/block_all_third_party_requests_summary"
123 android:defaultValue="false" />
124 </PreferenceCategory>
127 android:key="url_modification"
128 android:title="@string/url_modification" >
131 android:key="tracking_queries"
132 android:title="@string/tracking_queries"
133 android:summary="@string/tracking_queries_summary"
134 android:defaultValue="true" />
137 android:key="amp_redirects"
138 android:title="@string/amp_redirects"
139 android:summary="@string/amp_redirects_summary"
140 android:defaultValue="true" />
141 </PreferenceCategory>
144 android:key="search_category"
145 android:title="@string/search" >
149 android:title="@string/search"
150 android:entries="@array/search_entries"
151 android:entryValues="@array/search_entry_values"
152 android:defaultValue="@string/search_default_value"
153 android:icon="@drawable/search" />
156 android:key="search_custom_url"
157 android:title="@string/search_custom_url"
158 android:defaultValue="@string/search_custom_url_default_value"
159 android:inputType="textUri" />
160 </PreferenceCategory>
163 android:key="proxy_category"
164 android:title="@string/proxy" >
168 android:title="@string/proxy"
169 android:entries="@array/proxy_entries"
170 android:entryValues="@array/proxy_entry_values"
171 android:defaultValue="@string/proxy_default_value" />
174 android:key="proxy_custom_url"
175 android:title="@string/proxy_custom_url"
176 android:defaultValue="@string/proxy_custom_url_default_value"
177 android:inputType="textUri" />
178 </PreferenceCategory>
181 android:key="full_screen"
182 android:title="@string/full_screen" >
185 android:key="full_screen_browsing_mode"
186 android:title="@string/full_screen_browsing_mode"
187 android:summary="@string/full_screen_browsing_mode_summary"
188 android:defaultValue="false" />
191 android:key="hide_app_bar"
192 android:title="@string/hide_app_bar"
193 android:summary="@string/hide_app_bar_summary"
194 android:defaultValue="true" />
195 </PreferenceCategory>
198 android:key="clear_and_exit"
199 android:title="@string/clear_and_exit" >
202 android:key="clear_everything"
203 android:title="@string/clear_everything"
204 android:summary="@string/clear_everything_summary"
205 android:defaultValue="true" />
208 android:key="clear_cookies"
209 android:title="@string/clear_cookies_preference"
210 android:summary="@string/clear_cookies_summary"
211 android:defaultValue="true" />
214 android:key="clear_dom_storage"
215 android:title="@string/clear_dom_storage_preference"
216 android:summary="@string/clear_dom_storage_summary"
217 android:defaultValue="true" />
219 <!-- Clear form data can be removed once the minimum API >= 26. -->
221 android:key="clear_form_data"
222 android:title="@string/clear_form_data_preference"
223 android:summary="@string/clear_form_data_summary"
224 android:defaultValue="true" />
227 android:key="clear_logcat"
228 android:title="@string/clear_logcat_preference"
229 android:summary="@string/clear_logcat_summary"
230 android:defaultValue="true" />
233 android:key="clear_cache"
234 android:title="@string/clear_cache"
235 android:summary="@string/clear_cache_summary"
236 android:defaultValue="true" />
237 </PreferenceCategory>
240 android:key="general"
241 android:title="@string/general" >
244 android:key="homepage"
245 android:title="@string/homepage"
246 android:defaultValue="@string/homepage_default_value"
247 android:inputType="textUri"
248 android:icon="@drawable/home" />
250 <!-- `android:inputType="number"` currently doesn't work with AndroidX. -->
252 android:key="font_size"
253 android:title="@string/font_size_preference"
254 android:defaultValue="@string/font_size_default_value"
255 android:inputType="number"
256 android:icon="@drawable/font_size" />
259 android:key="open_intents_in_new_tab"
260 android:title="@string/open_intents_in_new_tab"
261 android:summary="@string/open_intents_in_new_tab_summary"
262 android:defaultValue="true" />
265 android:key="swipe_to_refresh"
266 android:title="@string/swipe_to_refresh"
267 android:summary="@string/swipe_to_refresh_summary"
268 android:defaultValue="true" />
271 android:key="download_with_external_app"
272 android:title="@string/download_with_external_app"
273 android:summary="@string/download_with_external_app_summary"
274 android:defaultValue="false" />
277 android:key="scroll_app_bar"
278 android:title="@string/scroll_app_bar"
279 android:summary="@string/scroll_app_bar_summary"
280 android:defaultValue="true" />
283 android:key="bottom_app_bar"
284 android:title="@string/bottom_app_bar"
285 android:summary="@string/bottom_app_bar_summary"
286 android:defaultValue="false" />
289 android:key="display_additional_app_bar_icons"
290 android:title="@string/display_additional_app_bar_icons"
291 android:summary="@string/display_additional_app_bar_icons_summary"
292 android:defaultValue="false" />
295 android:key="app_theme"
296 android:title="@string/app_theme"
297 android:entries="@array/app_theme_entries"
298 android:entryValues="@array/app_theme_entry_values"
299 android:defaultValue="@string/app_theme_default_value"
300 android:icon="@drawable/app_theme" />
303 android:key="webview_theme"
304 android:title="@string/webview_theme"
305 android:entries="@array/webview_theme_entries"
306 android:entryValues="@array/webview_theme_entry_values"
307 android:defaultValue="@string/webview_theme_default_value" />
310 android:key="wide_viewport"
311 android:title="@string/wide_viewport_preference"
312 android:summary="@string/wide_viewport_summary"
313 android:defaultValue="true" />
316 android:key="display_webpage_images"
317 android:title="@string/display_webpage_images"
318 android:summary="@string/display_webpage_images_summary"
319 android:defaultValue="true" />
320 </PreferenceCategory>