1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2015-2020 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
8 Privacy Browser 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 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. If not, see <http://www.gnu.org/licenses/>. -->
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 xmlns:app="http://schemas.android.com/apk/res-auto"
24 xmlns:tools="http://schemas.android.com/tools"
25 tools:context=".activities.MainWebViewActivity" >
28 android:id="@+id/toggle_javascript"
29 android:title="@string/javascript"
30 android:orderInCategory="100"
31 android:icon="@drawable/privacy_mode"
32 app:showAsAction="ifRoom" />
35 android:id="@+id/refresh"
36 android:title="@string/refresh"
37 android:orderInCategory="200"
38 app:showAsAction="never" />
40 <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
42 android:id="@+id/bookmarks"
43 android:title="@string/bookmarks"
44 android:orderInCategory="300"
45 android:icon="?attr/bookmarksAppBarIcon"
46 app:showAsAction="never" />
49 android:id="@+id/toggle_first_party_cookies"
50 android:title="@string/first_party_cookies"
51 android:orderInCategory="400"
52 android:checkable="true"
53 android:icon="@drawable/cookies_disabled_day"
54 app:showAsAction="never" />
57 android:id="@+id/toggle_third_party_cookies"
58 android:title="@string/third_party_cookies"
59 android:orderInCategory="500"
60 android:checkable="true"
61 app:showAsAction="never" />
64 android:id="@+id/toggle_dom_storage"
65 android:title="@string/dom_storage"
66 android:orderInCategory="600"
67 android:checkable="true"
68 app:showAsAction="never" />
71 android:id="@+id/toggle_save_form_data"
72 android:title="@string/form_data"
73 android:orderInCategory="700"
74 android:checkable="true"
75 app:showAsAction="never" />
78 android:id="@+id/clear_data"
79 android:title="@string/clear_data"
80 android:orderInCategory="800"
81 app:showAsAction="never" >
85 android:id="@+id/clear_cookies"
86 android:title="@string/clear_cookies"
87 android:orderInCategory="810"
88 app:showAsAction="never" />
91 android:id="@+id/clear_dom_storage"
92 android:title="@string/clear_dom_storage"
93 android:orderInCategory="820"
94 app:showAsAction="never" />
97 android:id="@+id/clear_form_data"
98 android:title="@string/clear_form_data"
99 android:orderInCategory="830"
100 app:showAsAction="never" />
105 android:id="@+id/blocklists"
106 android:title="@string/blocklists"
107 android:orderInCategory="900"
108 app:showAsAction="never" >
112 android:id="@+id/easylist"
113 android:title="@string/easylist"
114 android:orderInCategory="910"
115 android:checkable="true"
116 app:showAsAction="never" />
119 android:id="@+id/easyprivacy"
120 android:title="@string/easyprivacy"
121 android:orderInCategory="920"
122 android:checkable="true"
123 app:showAsAction="never" />
126 android:id="@+id/fanboys_annoyance_list"
127 android:title="@string/options_fanboys_annoyance_list"
128 android:orderInCategory="930"
129 android:checkable="true"
130 app:showAsAction="never" />
133 android:id="@+id/fanboys_social_blocking_list"
134 android:title="@string/options_fanboys_social_blocking_list"
135 android:orderInCategory="940"
136 android:checkable="true"
137 app:showAsAction="never" />
140 android:id="@+id/ultralist"
141 android:title="@string/ultralist"
142 android:orderInCategory="950"
143 android:checkable="true"
144 app:showAsAction="never" />
147 android:id="@+id/ultraprivacy"
148 android:title="@string/ultraprivacy"
149 android:orderInCategory="960"
150 android:checkable="true"
151 app:showAsAction="never" />
154 android:id="@+id/block_all_third_party_requests"
155 android:title="@string/options_block_all_third_party_requests"
156 android:orderInCategory="970"
157 android:checkable="true"
158 app:showAsAction="never" />
163 android:id="@+id/proxy"
164 android:title="@string/proxy"
165 android:orderInCategory="1000"
166 app:showAsAction="never" >
169 <group android:checkableBehavior="single" >
171 android:id="@+id/proxy_none"
172 android:title="@string/proxy_none"
173 android:orderInCategory="1010"
174 app:showAsAction="never" />
177 android:id="@+id/proxy_tor"
178 android:title="@string/proxy_tor"
179 android:orderInCategory="1020"
180 app:showAsAction="never" />
183 android:id="@+id/proxy_i2p"
184 android:title="@string/proxy_i2p"
185 android:orderInCategory="1030"
186 app:showAsAction="never" />
189 android:id="@+id/proxy_custom"
190 android:title="@string/proxy_custom"
191 android:orderInCategory="1040"
192 app:showAsAction="never" />
198 android:id="@+id/page"
199 android:title="@string/page"
200 android:orderInCategory="1100"
201 app:showAsAction="never" >
205 android:id="@+id/user_agent"
206 android:title="@string/options_user_agent"
207 android:orderInCategory="1110"
208 app:showAsAction="never" >
211 <group android:checkableBehavior="single">
213 android:id="@+id/user_agent_privacy_browser"
214 android:title="@string/user_agent_privacy_browser"
215 android:orderInCategory="1111"
216 app:showAsAction="never" />
219 android:id="@+id/user_agent_webview_default"
220 android:title="@string/user_agent_webview_default"
221 android:orderInCategory="1112"
222 app:showAsAction="never" />
225 android:id="@+id/user_agent_firefox_on_android"
226 android:title="@string/user_agent_firefox_on_android"
227 android:orderInCategory="1113"
228 app:showAsAction="never" />
231 android:id="@+id/user_agent_chrome_on_android"
232 android:title="@string/user_agent_chrome_on_android"
233 android:orderInCategory="1114"
234 app:showAsAction="never" />
237 android:id="@+id/user_agent_safari_on_ios"
238 android:title="@string/user_agent_safari_on_ios"
239 android:orderInCategory="1115"
240 app:showAsAction="never" />
243 android:id="@+id/user_agent_firefox_on_linux"
244 android:title="@string/user_agent_firefox_on_linux"
245 android:orderInCategory="1116"
246 app:showAsAction="never" />
249 android:id="@+id/user_agent_chromium_on_linux"
250 android:title="@string/user_agent_chromium_on_linux"
251 android:orderInCategory="1117"
252 app:showAsAction="never" />
255 android:id="@+id/user_agent_firefox_on_windows"
256 android:title="@string/user_agent_firefox_on_windows"
257 android:orderInCategory="1118"
258 app:showAsAction="never" />
261 android:id="@+id/user_agent_chrome_on_windows"
262 android:title="@string/user_agent_chrome_on_windows"
263 android:orderInCategory="1119"
264 app:showAsAction="never" />
267 android:id="@+id/user_agent_edge_on_windows"
268 android:title="@string/user_agent_edge_on_windows"
269 android:orderInCategory="1120"
270 app:showAsAction="never" />
273 android:id="@+id/user_agent_internet_explorer_on_windows"
274 android:title="@string/user_agent_internet_explorer_on_windows"
275 android:orderInCategory="1121"
276 app:showAsAction="never" />
279 android:id="@+id/user_agent_safari_on_macos"
280 android:title="@string/user_agent_safari_on_macos"
281 android:orderInCategory="1122"
282 app:showAsAction="never" />
285 android:id="@+id/user_agent_custom"
286 android:title="@string/user_agent_custom"
287 android:orderInCategory="1123"
288 app:showAsAction="never" />
294 android:id="@+id/swipe_to_refresh"
295 android:title="@string/swipe_to_refresh_options_menu"
296 android:orderInCategory="1130"
297 android:checkable="true"
298 app:showAsAction="never" />
301 android:id="@+id/wide_viewport"
302 android:title="@string/wide_viewport"
303 android:orderInCategory="1140"
304 android:checkable="true"
305 app:showAsAction="never" />
308 android:id="@+id/display_images"
309 android:title="@string/display_images"
310 android:orderInCategory="1150"
311 android:checkable="true"
312 app:showAsAction="never" />
315 android:id="@+id/dark_webview"
316 android:title="@string/dark_webview"
317 android:orderInCategory="1160"
318 android:checkable="true"
319 app:showAsAction="never" />
322 android:id="@+id/font_size"
323 android:title="@string/font_size"
324 android:orderInCategory="1170"
325 app:showAsAction="never" />
328 android:id="@+id/find_on_page"
329 android:title="@string/find_on_page"
330 android:orderInCategory="1180"
331 app:showAsAction="never|collapseActionView" />
334 android:id="@+id/print"
335 android:title="@string/print"
336 android:orderInCategory="1190"
337 app:showAsAction="never" />
340 android:id="@+id/save"
341 android:title="@string/save"
342 android:orderInCategory="1200"
343 app:showAsAction="never" >
347 android:id="@+id/save_url"
348 android:title="@string/save_url"
349 android:orderInCategory="1201"
350 app:showAsAction="never" />
352 android:id="@+id/save_archive"
353 android:title="@string/save_archive"
354 android:orderInCategory="1202"
355 app:showAsAction="never" />
358 android:id="@+id/save_image"
359 android:title="@string/save_image"
360 android:orderInCategory="1203"
361 app:showAsAction="never" />
366 android:id="@+id/add_to_homescreen"
367 android:title="@string/add_to_home_screen"
368 android:orderInCategory="1210"
369 app:showAsAction="never" />
372 android:id="@+id/view_source"
373 android:title="@string/view_source"
374 android:orderInCategory="1220"
375 app:showAsAction="never" />
380 android:id="@+id/share"
381 android:title="@string/share"
382 android:orderInCategory="1300"
383 app:showAsAction="never" >
387 android:id="@+id/share_url"
388 android:title="@string/share_url"
389 android:orderInCategory="1310"
390 app:showAsAction="never" />
393 android:id="@+id/open_with_app"
394 android:title="@string/open_with_app"
395 android:orderInCategory="1320"
396 app:showAsAction="never" />
399 android:id="@+id/open_with_browser"
400 android:title="@string/open_with_browser"
401 android:orderInCategory="1330"
402 app:showAsAction="never" />
407 android:id="@+id/add_or_edit_domain"
408 android:title="@string/add_domain_settings"
409 android:orderInCategory="1400"
410 app:showAsAction="never" />
413 android:id="@+id/ad_consent"
414 android:title="@string/ad_consent"
415 android:orderInCategory="1500"
416 app:showAsAction="never" />