]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/webview_options_menu.xml
e2d79c7ee876c78b7e6132a510409df9179fce00
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / webview_options_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2019 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
7
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.
12
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.
17
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/>. -->
20
21 <menu
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" >
26
27     <item
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" />
33
34     <item
35         android:id="@+id/add_or_edit_domain"
36         android:title="@string/add_domain_settings"
37         android:orderInCategory="200"
38         app:showAsAction="never" />
39
40     <item
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" />
47
48     <item
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" />
54
55     <item
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" />
62
63     <item
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" />
69
70     <item
71         android:id="@+id/clear_data"
72         android:title="@string/clear_data"
73         android:orderInCategory="700"
74         app:showAsAction="never" >
75
76         <menu>
77             <item
78                 android:id="@+id/clear_cookies"
79                 android:title="@string/clear_cookies"
80                 android:orderInCategory="710"
81                 app:showAsAction="never" />
82
83             <item
84                 android:id="@+id/clear_dom_storage"
85                 android:title="@string/clear_dom_storage"
86                 android:orderInCategory="720"
87                 app:showAsAction="never" />
88
89             <item
90                 android:id="@+id/clear_form_data"
91                 android:title="@string/clear_form_data"
92                 android:orderInCategory="730"
93                 app:showAsAction="never" />
94         </menu>
95     </item>
96
97     <item
98         android:id="@+id/blocklists"
99         android:title="@string/blocklists"
100         android:orderInCategory="800"
101         app:showAsAction="never" >
102
103         <menu>
104             <item
105                 android:id="@+id/easylist"
106                 android:title="@string/easylist"
107                 android:orderInCategory="810"
108                 android:checkable="true"
109                 app:showAsAction="never" />
110
111             <item
112                 android:id="@+id/easyprivacy"
113                 android:title="@string/easyprivacy"
114                 android:orderInCategory="820"
115                 android:checkable="true"
116                 app:showAsAction="never" />
117
118             <item
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" />
124
125             <item
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" />
131
132             <item
133                 android:id="@+id/ultraprivacy"
134                 android:title="@string/ultraprivacy"
135                 android:orderInCategory="850"
136                 android:checkable="true"
137                 app:showAsAction="never" />
138
139             <item
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" />
145         </menu>
146     </item>
147
148     <item
149         android:id="@+id/page"
150         android:title="@string/page"
151         android:orderInCategory="900"
152         app:showAsAction="never" >
153
154         <menu>
155             <item
156                 android:id="@+id/user_agent"
157                 android:title="@string/options_user_agent"
158                 android:orderInCategory="910"
159                 app:showAsAction="never" >
160
161                 <menu>
162                     <group android:checkableBehavior ="single">
163                         <item
164                             android:id="@+id/user_agent_privacy_browser"
165                             android:title="@string/user_agent_privacy_browser"
166                             android:orderInCategory="911"
167                             app:showAsAction="never" />
168
169                         <item
170                             android:id="@+id/user_agent_webview_default"
171                             android:title="@string/user_agent_webview_default"
172                             android:orderInCategory="912"
173                             app:showAsAction="never" />
174
175                         <item
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" />
180
181                         <item
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" />
186
187                         <item
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" />
192
193                         <item
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" />
198
199                         <item
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" />
204
205                         <item
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" />
210
211                         <item
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" />
216
217                         <item
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" />
222
223                         <item
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" />
228
229                         <item
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" />
234
235                         <item
236                             android:id="@+id/user_agent_custom"
237                             android:title="@string/user_agent_custom"
238                             android:orderInCategory="923"
239                             app:showAsAction="never" />
240                     </group>
241                 </menu>
242             </item>
243
244             <item
245                 android:id="@+id/font_size"
246                 android:title="@string/font_size"
247                 android:orderInCategory="930"
248                 app:showAsAction="never" >
249
250                 <menu>
251                     <group android:checkableBehavior="single">
252                         <item
253                             android:id="@+id/font_size_twenty_five_percent"
254                             android:title="@string/twenty_five_percent"
255                             android:orderInCategory="931"
256                             app:showAsAction="never" />
257
258                         <item
259                             android:id="@+id/font_size_fifty_percent"
260                             android:title="@string/fifty_percent"
261                             android:orderInCategory="932"
262                             app:showAsAction="never" />
263
264                         <item
265                             android:id="@+id/font_size_seventy_five_percent"
266                             android:title="@string/seventy_five_percent"
267                             android:orderInCategory="933"
268                             app:showAsAction="never" />
269
270                         <item
271                             android:id="@+id/font_size_one_hundred_percent"
272                             android:title="@string/one_hundred_percent"
273                             android:orderInCategory="934"
274                             app:showAsAction="never" />
275
276                         <item
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" />
281
282                         <item
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" />
287
288                         <item
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" />
293
294                         <item
295                             android:id="@+id/font_size_two_hundred_percent"
296                             android:title="@string/two_hundred_percent"
297                             android:orderInCategory="938"
298                             app:showAsAction="never" />
299                     </group>
300                 </menu>
301             </item>
302
303             <item
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" />
309
310             <item
311                 android:id="@+id/wide_viewport"
312                 android:title="@string/wide_viewport"
313                 android:orderInCategory="950"
314                 android:checkable="true"
315                 app:showAsAction="never" />
316
317             <item
318                 android:id="@+id/display_images"
319                 android:title="@string/display_images"
320                 android:orderInCategory="960"
321                 android:checkable="true"
322                 app:showAsAction="never" />
323
324             <item
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" />
330
331             <item
332                 android:id="@+id/find_on_page"
333                 android:title="@string/find_on_page"
334                 android:orderInCategory="980"
335                 app:showAsAction="never|collapseActionView" />
336
337             <item
338                 android:id="@+id/print"
339                 android:title="@string/print"
340                 android:orderInCategory="990"
341                 app:showAsAction="never" />
342
343             <item
344                 android:id="@+id/add_to_homescreen"
345                 android:title="@string/add_to_home_screen"
346                 android:orderInCategory="1000"
347                 app:showAsAction="never" />
348
349             <item
350                 android:id="@+id/view_source"
351                 android:title="@string/view_source"
352                 android:orderInCategory="1010"
353                 app:showAsAction="never" />
354         </menu>
355     </item>
356
357     <item
358         android:id="@+id/share"
359         android:title="@string/share"
360         android:orderInCategory="1100"
361         app:showAsAction="never" >
362
363         <menu>
364             <item
365                 android:id="@+id/share_url"
366                 android:title="@string/share_url"
367                 android:orderInCategory="1110"
368                 app:showAsAction="never" />
369
370             <item
371                 android:id="@+id/open_with_app"
372                 android:title="@string/open_with_app"
373                 android:orderInCategory="1120"
374                 app:showAsAction="never" />
375
376             <item
377                 android:id="@+id/open_with_browser"
378                 android:title="@string/open_with_browser"
379                 android:orderInCategory="1130"
380                 app:showAsAction="never" />
381         </menu>
382     </item>
383
384     <item
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" />
390
391     <item
392         android:id="@+id/refresh"
393         android:title="@string/refresh"
394         android:orderInCategory="1300"
395         app:showAsAction="never" />
396
397     <item
398         android:id="@+id/ad_consent"
399         android:title="@string/ad_consent"
400         android:orderInCategory="1400"
401         app:showAsAction="never" />
402 </menu>