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