1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2015-2019 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/add_or_edit_domain"
36 android:title="@string/add_domain_settings"
37 android:orderInCategory="200"
38 app:showAsAction="never" />
41 android:id="@+id/toggle_first_party_cookies"
42 android:title="@string/first_party_cookies"
43 android:orderInCategory="300"
44 android:checkable="true"
45 android:icon="@drawable/cookies_disabled_light"
46 app:showAsAction="never" />
49 android:id="@+id/toggle_third_party_cookies"
50 android:title="@string/third_party_cookies"
51 android:orderInCategory="400"
52 android:checkable="true"
53 app:showAsAction="never" />
56 android:id="@+id/toggle_dom_storage"
57 android:title="@string/dom_storage"
58 android:orderInCategory="500"
59 android:checkable="true"
60 android:icon="@drawable/dom_storage_disabled_light"
61 app:showAsAction="never" />
64 android:id="@+id/toggle_save_form_data"
65 android:title="@string/form_data"
66 android:orderInCategory="600"
67 android:checkable="true"
68 app:showAsAction="never" />
71 android:id="@+id/clear_data"
72 android:title="@string/clear_data"
73 android:orderInCategory="700"
74 app:showAsAction="never" >
78 android:id="@+id/clear_cookies"
79 android:title="@string/clear_cookies"
80 android:orderInCategory="710"
81 app:showAsAction="never" />
84 android:id="@+id/clear_dom_storage"
85 android:title="@string/clear_dom_storage"
86 android:orderInCategory="720"
87 app:showAsAction="never" />
90 android:id="@+id/clear_form_data"
91 android:title="@string/clear_form_data"
92 android:orderInCategory="730"
93 app:showAsAction="never" />
98 android:id="@+id/blocklists"
99 android:title="@string/blocklists"
100 android:orderInCategory="800"
101 app:showAsAction="never" >
105 android:id="@+id/easylist"
106 android:title="@string/easylist"
107 android:orderInCategory="810"
108 android:checkable="true"
109 app:showAsAction="never" />
112 android:id="@+id/easyprivacy"
113 android:title="@string/easyprivacy"
114 android:orderInCategory="820"
115 android:checkable="true"
116 app:showAsAction="never" />
119 android:id="@+id/fanboys_annoyance_list"
120 android:title="@string/options_fanboys_annoyance_list"
121 android:orderInCategory="830"
122 android:checkable="true"
123 app:showAsAction="never" />
126 android:id="@+id/fanboys_social_blocking_list"
127 android:title="@string/options_fanboys_social_blocking_list"
128 android:orderInCategory="840"
129 android:checkable="true"
130 app:showAsAction="never" />
133 android:id="@+id/ultraprivacy"
134 android:title="@string/ultraprivacy"
135 android:orderInCategory="850"
136 android:checkable="true"
137 app:showAsAction="never" />
140 android:id="@+id/block_all_third_party_requests"
141 android:title="@string/options_block_all_third_party_requests"
142 android:orderInCategory="860"
143 android:checkable="true"
144 app:showAsAction="never" />
149 android:id="@+id/page"
150 android:title="@string/page"
151 android:orderInCategory="900"
152 app:showAsAction="never" >
156 android:id="@+id/user_agent"
157 android:title="@string/options_user_agent"
158 android:orderInCategory="910"
159 app:showAsAction="never" >
162 <group android:checkableBehavior ="single">
164 android:id="@+id/user_agent_privacy_browser"
165 android:title="@string/user_agent_privacy_browser"
166 android:orderInCategory="911"
167 app:showAsAction="never" />
170 android:id="@+id/user_agent_webview_default"
171 android:title="@string/user_agent_webview_default"
172 android:orderInCategory="912"
173 app:showAsAction="never" />
176 android:id="@+id/user_agent_firefox_on_android"
177 android:title="@string/user_agent_firefox_on_android"
178 android:orderInCategory="913"
179 app:showAsAction="never" />
182 android:id="@+id/user_agent_chrome_on_android"
183 android:title="@string/user_agent_chrome_on_android"
184 android:orderInCategory="914"
185 app:showAsAction="never" />
188 android:id="@+id/user_agent_safari_on_ios"
189 android:title="@string/user_agent_safari_on_ios"
190 android:orderInCategory="915"
191 app:showAsAction="never" />
194 android:id="@+id/user_agent_firefox_on_linux"
195 android:title="@string/user_agent_firefox_on_linux"
196 android:orderInCategory="916"
197 app:showAsAction="never" />
200 android:id="@+id/user_agent_chromium_on_linux"
201 android:title="@string/user_agent_chromium_on_linux"
202 android:orderInCategory="917"
203 app:showAsAction="never" />
206 android:id="@+id/user_agent_firefox_on_windows"
207 android:title="@string/user_agent_firefox_on_windows"
208 android:orderInCategory="918"
209 app:showAsAction="never" />
212 android:id="@+id/user_agent_chrome_on_windows"
213 android:title="@string/user_agent_chrome_on_windows"
214 android:orderInCategory="919"
215 app:showAsAction="never" />
218 android:id="@+id/user_agent_edge_on_windows"
219 android:title="@string/user_agent_edge_on_windows"
220 android:orderInCategory="920"
221 app:showAsAction="never" />
224 android:id="@+id/user_agent_internet_explorer_on_windows"
225 android:title="@string/user_agent_internet_explorer_on_windows"
226 android:orderInCategory="921"
227 app:showAsAction="never" />
230 android:id="@+id/user_agent_safari_on_macos"
231 android:title="@string/user_agent_safari_on_macos"
232 android:orderInCategory="922"
233 app:showAsAction="never" />
236 android:id="@+id/user_agent_custom"
237 android:title="@string/user_agent_custom"
238 android:orderInCategory="923"
239 app:showAsAction="never" />
245 android:id="@+id/font_size"
246 android:title="@string/font_size"
247 android:orderInCategory="930"
248 app:showAsAction="never" >
251 <group android:checkableBehavior="single">
253 android:id="@+id/font_size_twenty_five_percent"
254 android:title="@string/twenty_five_percent"
255 android:orderInCategory="931"
256 app:showAsAction="never" />
259 android:id="@+id/font_size_fifty_percent"
260 android:title="@string/fifty_percent"
261 android:orderInCategory="932"
262 app:showAsAction="never" />
265 android:id="@+id/font_size_seventy_five_percent"
266 android:title="@string/seventy_five_percent"
267 android:orderInCategory="933"
268 app:showAsAction="never" />
271 android:id="@+id/font_size_one_hundred_percent"
272 android:title="@string/one_hundred_percent"
273 android:orderInCategory="934"
274 app:showAsAction="never" />
277 android:id="@+id/font_size_one_hundred_twenty_five_percent"
278 android:title="@string/one_hundred_twenty_five_percent"
279 android:orderInCategory="935"
280 app:showAsAction="never" />
283 android:id="@+id/font_size_one_hundred_fifty_percent"
284 android:title="@string/one_hundred_fifty_percent"
285 android:orderInCategory="936"
286 app:showAsAction="never" />
289 android:id="@+id/font_size_one_hundred_seventy_five_percent"
290 android:title="@string/one_hundred_seventy_five_percent"
291 android:orderInCategory="937"
292 app:showAsAction="never" />
295 android:id="@+id/font_size_two_hundred_percent"
296 android:title="@string/two_hundred_percent"
297 android:orderInCategory="938"
298 app:showAsAction="never" />
304 android:id="@+id/swipe_to_refresh"
305 android:title="@string/swipe_to_refresh_options_menu"
306 android:orderInCategory="940"
307 android:checkable="true"
308 app:showAsAction="never" />
311 android:id="@+id/wide_viewport"
312 android:title="@string/wide_viewport"
313 android:orderInCategory="950"
314 android:checkable="true"
315 app:showAsAction="never" />
318 android:id="@+id/display_images"
319 android:title="@string/display_images"
320 android:orderInCategory="960"
321 android:checkable="true"
322 app:showAsAction="never" />
325 android:id="@+id/night_mode"
326 android:title="@string/options_night_mode"
327 android:orderInCategory="970"
328 android:checkable="true"
329 app:showAsAction="never" />
332 android:id="@+id/find_on_page"
333 android:title="@string/find_on_page"
334 android:orderInCategory="980"
335 app:showAsAction="never|collapseActionView" />
338 android:id="@+id/print"
339 android:title="@string/print"
340 android:orderInCategory="990"
341 app:showAsAction="never" />
344 android:id="@+id/add_to_homescreen"
345 android:title="@string/add_to_home_screen"
346 android:orderInCategory="1000"
347 app:showAsAction="never" />
350 android:id="@+id/view_source"
351 android:title="@string/view_source"
352 android:orderInCategory="1010"
353 app:showAsAction="never" />
358 android:id="@+id/share"
359 android:title="@string/share"
360 android:orderInCategory="1100"
361 app:showAsAction="never" >
365 android:id="@+id/share_url"
366 android:title="@string/share_url"
367 android:orderInCategory="1110"
368 app:showAsAction="never" />
371 android:id="@+id/open_with_app"
372 android:title="@string/open_with_app"
373 android:orderInCategory="1120"
374 app:showAsAction="never" />
377 android:id="@+id/open_with_browser"
378 android:title="@string/open_with_browser"
379 android:orderInCategory="1130"
380 app:showAsAction="never" />
385 android:id="@+id/proxy_through_orbot"
386 android:title="@string/proxy_through_orbot"
387 android:orderInCategory="1200"
388 android:checkable="true"
389 app:showAsAction="never" />
392 android:id="@+id/refresh"
393 android:title="@string/refresh"
394 android:orderInCategory="1300"
395 app:showAsAction="never" />
398 android:id="@+id/ad_consent"
399 android:title="@string/ad_consent"
400 android:orderInCategory="1400"
401 app:showAsAction="never" />