]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/webview_options_menu.xml
Replace DOM Storage with Bookmarks for additional app bar icons. https://redmine...
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / webview_options_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2020 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/refresh"
36         android:title="@string/refresh"
37         android:orderInCategory="200"
38         app:showAsAction="never" />
39
40     <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
41     <item
42         android:id="@+id/bookmarks"
43         android:title="@string/bookmarks"
44         android:orderInCategory="300"
45         android:icon="?attr/bookmarksAppBarIcon"
46         app:showAsAction="never" />
47
48     <item
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" />
55
56     <item
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" />
62
63     <item
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" />
69
70     <item
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" />
76
77     <item
78         android:id="@+id/clear_data"
79         android:title="@string/clear_data"
80         android:orderInCategory="800"
81         app:showAsAction="never" >
82
83         <menu>
84             <item
85                 android:id="@+id/clear_cookies"
86                 android:title="@string/clear_cookies"
87                 android:orderInCategory="810"
88                 app:showAsAction="never" />
89
90             <item
91                 android:id="@+id/clear_dom_storage"
92                 android:title="@string/clear_dom_storage"
93                 android:orderInCategory="820"
94                 app:showAsAction="never" />
95
96             <item
97                 android:id="@+id/clear_form_data"
98                 android:title="@string/clear_form_data"
99                 android:orderInCategory="830"
100                 app:showAsAction="never" />
101         </menu>
102     </item>
103
104     <item
105         android:id="@+id/blocklists"
106         android:title="@string/blocklists"
107         android:orderInCategory="900"
108         app:showAsAction="never" >
109
110         <menu>
111             <item
112                 android:id="@+id/easylist"
113                 android:title="@string/easylist"
114                 android:orderInCategory="910"
115                 android:checkable="true"
116                 app:showAsAction="never" />
117
118             <item
119                 android:id="@+id/easyprivacy"
120                 android:title="@string/easyprivacy"
121                 android:orderInCategory="920"
122                 android:checkable="true"
123                 app:showAsAction="never" />
124
125             <item
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" />
131
132             <item
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" />
138
139             <item
140                 android:id="@+id/ultralist"
141                 android:title="@string/ultralist"
142                 android:orderInCategory="950"
143                 android:checkable="true"
144                 app:showAsAction="never" />
145
146             <item
147                 android:id="@+id/ultraprivacy"
148                 android:title="@string/ultraprivacy"
149                 android:orderInCategory="960"
150                 android:checkable="true"
151                 app:showAsAction="never" />
152
153             <item
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" />
159         </menu>
160     </item>
161
162     <item
163         android:id="@+id/proxy"
164         android:title="@string/proxy"
165         android:orderInCategory="1000"
166         app:showAsAction="never" >
167
168         <menu>
169             <group android:checkableBehavior="single" >
170                 <item
171                     android:id="@+id/proxy_none"
172                     android:title="@string/proxy_none"
173                     android:orderInCategory="1010"
174                     app:showAsAction="never" />
175
176                 <item
177                     android:id="@+id/proxy_tor"
178                     android:title="@string/proxy_tor"
179                     android:orderInCategory="1020"
180                     app:showAsAction="never" />
181
182                 <item
183                     android:id="@+id/proxy_i2p"
184                     android:title="@string/proxy_i2p"
185                     android:orderInCategory="1030"
186                     app:showAsAction="never" />
187
188                 <item
189                     android:id="@+id/proxy_custom"
190                     android:title="@string/proxy_custom"
191                     android:orderInCategory="1040"
192                     app:showAsAction="never" />
193             </group>
194         </menu>
195     </item>
196
197     <item
198         android:id="@+id/page"
199         android:title="@string/page"
200         android:orderInCategory="1100"
201         app:showAsAction="never" >
202
203         <menu>
204             <item
205                 android:id="@+id/user_agent"
206                 android:title="@string/options_user_agent"
207                 android:orderInCategory="1110"
208                 app:showAsAction="never" >
209
210                 <menu>
211                     <group android:checkableBehavior="single">
212                         <item
213                             android:id="@+id/user_agent_privacy_browser"
214                             android:title="@string/user_agent_privacy_browser"
215                             android:orderInCategory="1111"
216                             app:showAsAction="never" />
217
218                         <item
219                             android:id="@+id/user_agent_webview_default"
220                             android:title="@string/user_agent_webview_default"
221                             android:orderInCategory="1112"
222                             app:showAsAction="never" />
223
224                         <item
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" />
229
230                         <item
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" />
235
236                         <item
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" />
241
242                         <item
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" />
247
248                         <item
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" />
253
254                         <item
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" />
259
260                         <item
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" />
265
266                         <item
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" />
271
272                         <item
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" />
277
278                         <item
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" />
283
284                         <item
285                             android:id="@+id/user_agent_custom"
286                             android:title="@string/user_agent_custom"
287                             android:orderInCategory="1123"
288                             app:showAsAction="never" />
289                     </group>
290                 </menu>
291             </item>
292
293             <item
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" />
299
300             <item
301                 android:id="@+id/wide_viewport"
302                 android:title="@string/wide_viewport"
303                 android:orderInCategory="1140"
304                 android:checkable="true"
305                 app:showAsAction="never" />
306
307             <item
308                 android:id="@+id/display_images"
309                 android:title="@string/display_images"
310                 android:orderInCategory="1150"
311                 android:checkable="true"
312                 app:showAsAction="never" />
313
314             <item
315                 android:id="@+id/dark_webview"
316                 android:title="@string/dark_webview"
317                 android:orderInCategory="1160"
318                 android:checkable="true"
319                 app:showAsAction="never" />
320
321             <item
322                 android:id="@+id/font_size"
323                 android:title="@string/font_size"
324                 android:orderInCategory="1170"
325                 app:showAsAction="never" />
326
327             <item
328                 android:id="@+id/find_on_page"
329                 android:title="@string/find_on_page"
330                 android:orderInCategory="1180"
331                 app:showAsAction="never|collapseActionView" />
332
333             <item
334                 android:id="@+id/print"
335                 android:title="@string/print"
336                 android:orderInCategory="1190"
337                 app:showAsAction="never" />
338
339             <item
340                 android:id="@+id/save"
341                 android:title="@string/save"
342                 android:orderInCategory="1200"
343                 app:showAsAction="never" >
344
345                 <menu>
346                     <item
347                         android:id="@+id/save_url"
348                         android:title="@string/save_url"
349                         android:orderInCategory="1201"
350                         app:showAsAction="never" />
351                     <item
352                         android:id="@+id/save_archive"
353                         android:title="@string/save_archive"
354                         android:orderInCategory="1202"
355                         app:showAsAction="never" />
356
357                     <item
358                         android:id="@+id/save_image"
359                         android:title="@string/save_image"
360                         android:orderInCategory="1203"
361                         app:showAsAction="never" />
362                 </menu>
363             </item>
364
365             <item
366                 android:id="@+id/add_to_homescreen"
367                 android:title="@string/add_to_home_screen"
368                 android:orderInCategory="1210"
369                 app:showAsAction="never" />
370
371             <item
372                 android:id="@+id/view_source"
373                 android:title="@string/view_source"
374                 android:orderInCategory="1220"
375                 app:showAsAction="never" />
376         </menu>
377     </item>
378
379     <item
380         android:id="@+id/share"
381         android:title="@string/share"
382         android:orderInCategory="1300"
383         app:showAsAction="never" >
384
385         <menu>
386             <item
387                 android:id="@+id/share_url"
388                 android:title="@string/share_url"
389                 android:orderInCategory="1310"
390                 app:showAsAction="never" />
391
392             <item
393                 android:id="@+id/open_with_app"
394                 android:title="@string/open_with_app"
395                 android:orderInCategory="1320"
396                 app:showAsAction="never" />
397
398             <item
399                 android:id="@+id/open_with_browser"
400                 android:title="@string/open_with_browser"
401                 android:orderInCategory="1330"
402                 app:showAsAction="never" />
403         </menu>
404     </item>
405
406     <item
407         android:id="@+id/add_or_edit_domain"
408         android:title="@string/add_domain_settings"
409         android:orderInCategory="1400"
410         app:showAsAction="never" />
411
412     <item
413         android:id="@+id/ad_consent"
414         android:title="@string/ad_consent"
415         android:orderInCategory="1500"
416         app:showAsAction="never" />
417 </menu>