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