Convert LogcatActivity to Kotlin. https://redmine.stoutner.com/issues/770
[PrivacyBrowser.git] / app / src / main / res / menu / webview_options_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2021 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/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/cookies"
50         android:title="@string/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/dom_storage"
58         android:title="@string/dom_storage"
59         android:orderInCategory="600"
60         android:checkable="true"
61         app:showAsAction="never" />
62
63     <item
64         android:id="@+id/save_form_data"
65         android:title="@string/form_data"
66         android:orderInCategory="700"
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="800"
74         app:showAsAction="never" >
75
76         <menu>
77             <item
78                 android:id="@+id/clear_cookies"
79                 android:title="@string/clear_cookies"
80                 android:orderInCategory="810"
81                 app:showAsAction="never" />
82
83             <item
84                 android:id="@+id/clear_dom_storage"
85                 android:title="@string/clear_dom_storage"
86                 android:orderInCategory="820"
87                 app:showAsAction="never" />
88
89             <item
90                 android:id="@+id/clear_form_data"
91                 android:title="@string/clear_form_data"
92                 android:orderInCategory="830"
93                 app:showAsAction="never" />
94         </menu>
95     </item>
96
97     <item
98         android:id="@+id/blocklists"
99         android:title="@string/blocklists"
100         android:orderInCategory="900"
101         app:showAsAction="never" >
102
103         <menu>
104             <item
105                 android:id="@+id/easylist"
106                 android:title="@string/easylist"
107                 android:orderInCategory="910"
108                 android:checkable="true"
109                 app:showAsAction="never" />
110
111             <item
112                 android:id="@+id/easyprivacy"
113                 android:title="@string/easyprivacy"
114                 android:orderInCategory="920"
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="930"
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="940"
129                 android:checkable="true"
130                 app:showAsAction="never" />
131
132             <item
133                 android:id="@+id/ultralist"
134                 android:title="@string/ultralist"
135                 android:orderInCategory="950"
136                 android:checkable="true"
137                 app:showAsAction="never" />
138
139             <item
140                 android:id="@+id/ultraprivacy"
141                 android:title="@string/ultraprivacy"
142                 android:orderInCategory="960"
143                 android:checkable="true"
144                 app:showAsAction="never" />
145
146             <item
147                 android:id="@+id/block_all_third_party_requests"
148                 android:title="@string/options_block_all_third_party_requests"
149                 android:orderInCategory="970"
150                 android:checkable="true"
151                 app:showAsAction="never" />
152         </menu>
153     </item>
154
155     <item
156         android:id="@+id/proxy"
157         android:title="@string/proxy"
158         android:orderInCategory="1000"
159         app:showAsAction="never" >
160
161         <menu>
162             <group android:checkableBehavior="single" >
163                 <item
164                     android:id="@+id/proxy_none"
165                     android:title="@string/proxy_none"
166                     android:orderInCategory="1010"
167                     app:showAsAction="never" />
168
169                 <item
170                     android:id="@+id/proxy_tor"
171                     android:title="@string/proxy_tor"
172                     android:orderInCategory="1020"
173                     app:showAsAction="never" />
174
175                 <item
176                     android:id="@+id/proxy_i2p"
177                     android:title="@string/proxy_i2p"
178                     android:orderInCategory="1030"
179                     app:showAsAction="never" />
180
181                 <item
182                     android:id="@+id/proxy_custom"
183                     android:title="@string/proxy_custom"
184                     android:orderInCategory="1040"
185                     app:showAsAction="never" />
186             </group>
187         </menu>
188     </item>
189
190     <item
191         android:id="@+id/page"
192         android:title="@string/page"
193         android:orderInCategory="1100"
194         app:showAsAction="never" >
195
196         <menu>
197             <item
198                 android:id="@+id/user_agent"
199                 android:title="@string/options_user_agent"
200                 android:orderInCategory="1110"
201                 app:showAsAction="never" >
202
203                 <menu>
204                     <group android:checkableBehavior="single">
205                         <item
206                             android:id="@+id/user_agent_privacy_browser"
207                             android:title="@string/user_agent_privacy_browser"
208                             android:orderInCategory="1111"
209                             app:showAsAction="never" />
210
211                         <item
212                             android:id="@+id/user_agent_webview_default"
213                             android:title="@string/user_agent_webview_default"
214                             android:orderInCategory="1112"
215                             app:showAsAction="never" />
216
217                         <item
218                             android:id="@+id/user_agent_firefox_on_android"
219                             android:title="@string/user_agent_firefox_on_android"
220                             android:orderInCategory="1113"
221                             app:showAsAction="never" />
222
223                         <item
224                             android:id="@+id/user_agent_chrome_on_android"
225                             android:title="@string/user_agent_chrome_on_android"
226                             android:orderInCategory="1114"
227                             app:showAsAction="never" />
228
229                         <item
230                             android:id="@+id/user_agent_safari_on_ios"
231                             android:title="@string/user_agent_safari_on_ios"
232                             android:orderInCategory="1115"
233                             app:showAsAction="never" />
234
235                         <item
236                             android:id="@+id/user_agent_firefox_on_linux"
237                             android:title="@string/user_agent_firefox_on_linux"
238                             android:orderInCategory="1116"
239                             app:showAsAction="never" />
240
241                         <item
242                             android:id="@+id/user_agent_chromium_on_linux"
243                             android:title="@string/user_agent_chromium_on_linux"
244                             android:orderInCategory="1117"
245                             app:showAsAction="never" />
246
247                         <item
248                             android:id="@+id/user_agent_firefox_on_windows"
249                             android:title="@string/user_agent_firefox_on_windows"
250                             android:orderInCategory="1118"
251                             app:showAsAction="never" />
252
253                         <item
254                             android:id="@+id/user_agent_chrome_on_windows"
255                             android:title="@string/user_agent_chrome_on_windows"
256                             android:orderInCategory="1119"
257                             app:showAsAction="never" />
258
259                         <item
260                             android:id="@+id/user_agent_edge_on_windows"
261                             android:title="@string/user_agent_edge_on_windows"
262                             android:orderInCategory="1120"
263                             app:showAsAction="never" />
264
265                         <item
266                             android:id="@+id/user_agent_internet_explorer_on_windows"
267                             android:title="@string/user_agent_internet_explorer_on_windows"
268                             android:orderInCategory="1121"
269                             app:showAsAction="never" />
270
271                         <item
272                             android:id="@+id/user_agent_safari_on_macos"
273                             android:title="@string/user_agent_safari_on_macos"
274                             android:orderInCategory="1122"
275                             app:showAsAction="never" />
276
277                         <item
278                             android:id="@+id/user_agent_custom"
279                             android:title="@string/user_agent_custom"
280                             android:orderInCategory="1123"
281                             app:showAsAction="never" />
282                     </group>
283                 </menu>
284             </item>
285
286             <item
287                 android:id="@+id/swipe_to_refresh"
288                 android:title="@string/swipe_to_refresh_options_menu"
289                 android:orderInCategory="1130"
290                 android:checkable="true"
291                 app:showAsAction="never" />
292
293             <item
294                 android:id="@+id/wide_viewport"
295                 android:title="@string/wide_viewport"
296                 android:orderInCategory="1140"
297                 android:checkable="true"
298                 app:showAsAction="never" />
299
300             <item
301                 android:id="@+id/display_images"
302                 android:title="@string/display_images"
303                 android:orderInCategory="1150"
304                 android:checkable="true"
305                 app:showAsAction="never" />
306
307             <item
308                 android:id="@+id/dark_webview"
309                 android:title="@string/dark_webview"
310                 android:orderInCategory="1160"
311                 android:checkable="true"
312                 app:showAsAction="never" />
313
314             <item
315                 android:id="@+id/font_size"
316                 android:title="@string/font_size"
317                 android:orderInCategory="1170"
318                 app:showAsAction="never" />
319
320             <item
321                 android:id="@+id/find_on_page"
322                 android:title="@string/find_on_page"
323                 android:orderInCategory="1180"
324                 app:showAsAction="never|collapseActionView" />
325
326             <item
327                 android:id="@+id/print"
328                 android:title="@string/print"
329                 android:orderInCategory="1190"
330                 app:showAsAction="never" />
331
332             <item
333                 android:id="@+id/save"
334                 android:title="@string/save"
335                 android:orderInCategory="1200"
336                 app:showAsAction="never" >
337
338                 <menu>
339                     <item
340                         android:id="@+id/save_url"
341                         android:title="@string/save_url"
342                         android:orderInCategory="1201"
343                         app:showAsAction="never" />
344
345                     <item
346                         android:id="@+id/save_archive"
347                         android:title="@string/save_archive"
348                         android:orderInCategory="1202"
349                         app:showAsAction="never" />
350
351                     <item
352                         android:id="@+id/save_image"
353                         android:title="@string/save_image"
354                         android:orderInCategory="1203"
355                         app:showAsAction="never" />
356                 </menu>
357             </item>
358
359             <item
360                 android:id="@+id/add_to_homescreen"
361                 android:title="@string/add_to_home_screen"
362                 android:orderInCategory="1210"
363                 app:showAsAction="never" />
364
365             <item
366                 android:id="@+id/view_source"
367                 android:title="@string/view_source"
368                 android:orderInCategory="1220"
369                 app:showAsAction="never" />
370         </menu>
371     </item>
372
373     <item
374         android:id="@+id/share"
375         android:title="@string/share"
376         android:orderInCategory="1300"
377         app:showAsAction="never" >
378
379         <menu>
380             <item
381                 android:id="@+id/share_url"
382                 android:title="@string/share_url"
383                 android:orderInCategory="1310"
384                 app:showAsAction="never" />
385
386             <item
387                 android:id="@+id/open_with_app"
388                 android:title="@string/open_with_app"
389                 android:orderInCategory="1320"
390                 app:showAsAction="never" />
391
392             <item
393                 android:id="@+id/open_with_browser"
394                 android:title="@string/open_with_browser"
395                 android:orderInCategory="1330"
396                 app:showAsAction="never" />
397         </menu>
398     </item>
399
400     <item
401         android:id="@+id/add_or_edit_domain"
402         android:title="@string/add_domain_settings"
403         android:orderInCategory="1400"
404         app:showAsAction="never" />
405
406     <item
407         android:id="@+id/ad_consent"
408         android:title="@string/ad_consent"
409         android:orderInCategory="1500"
410         app:showAsAction="never" />
411 </menu>