Update the bookmarks icon. https://redmine.stoutner.com/issues/293
[PrivacyBrowser.git] / app / src / main / res / menu / webview_options_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2018 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         app:showAsAction="ifRoom" />
32
33     <item
34         android:id="@+id/add_or_edit_domain"
35         android:title="@string/add_domain_settings"
36         android:orderInCategory="200"
37         app:showAsAction="never" />
38
39     <item
40         android:id="@+id/toggle_first_party_cookies"
41         android:title="@string/first_party_cookies"
42         android:orderInCategory="300"
43         android:checkable="true"
44         app:showAsAction="never" />
45
46     <item
47         android:id="@+id/toggle_third_party_cookies"
48         android:title="@string/third_party_cookies"
49         android:orderInCategory="400"
50         android:checkable="true"
51         app:showAsAction="never" />
52
53     <item
54         android:id="@+id/toggle_dom_storage"
55         android:title="@string/dom_storage"
56         android:orderInCategory="500"
57         android:checkable="true"
58         app:showAsAction="never" />
59
60     <item
61         android:id="@+id/toggle_save_form_data"
62         android:title="@string/form_data"
63         android:orderInCategory="600"
64         android:checkable="true"
65         app:showAsAction="never" />
66
67     <item
68         android:id="@+id/clear_data"
69         android:title="@string/clear_data"
70         android:orderInCategory="700"
71         app:showAsAction="never" >
72
73         <menu>
74             <item
75                 android:id="@+id/clear_cookies"
76                 android:title="@string/clear_cookies"
77                 android:orderInCategory="710"
78                 app:showAsAction="never" />
79
80             <item
81                 android:id="@+id/clear_dom_storage"
82                 android:title="@string/clear_dom_storage"
83                 android:orderInCategory="720"
84                 app:showAsAction="never" />
85
86             <item
87                 android:id="@+id/clear_form_data"
88                 android:title="@string/clear_form_data"
89                 android:orderInCategory="730"
90                 app:showAsAction="never" />
91         </menu>
92     </item>
93
94     <item
95         android:id="@+id/blocklists"
96         android:title="@string/blocklists"
97         android:orderInCategory="800"
98         app:showAsAction="never" >
99
100         <menu>
101             <item
102                 android:id="@+id/easylist"
103                 android:title="@string/easylist"
104                 android:orderInCategory="810"
105                 android:checkable="true"
106                 app:showAsAction="never" />
107
108             <item
109                 android:id="@+id/easyprivacy"
110                 android:title="@string/easyprivacy"
111                 android:orderInCategory="820"
112                 android:checkable="true"
113                 app:showAsAction="never" />
114
115             <item
116                 android:id="@+id/fanboys_annoyance_list"
117                 android:title="@string/options_fanboys_annoyance_list"
118                 android:orderInCategory="830"
119                 android:checkable="true"
120                 app:showAsAction="never" />
121
122             <item
123                 android:id="@+id/fanboys_social_blocking_list"
124                 android:title="@string/options_fanboys_social_blocking_list"
125                 android:orderInCategory="840"
126                 android:checkable="true"
127                 app:showAsAction="never" />
128
129             <item
130                 android:id="@+id/block_all_third_party_requests"
131                 android:title="@string/options_block_all_third_party_requests"
132                 android:orderInCategory="850"
133                 android:checkable="true"
134                 app:showAsAction="never" />
135         </menu>
136     </item>
137
138     <item
139         android:id="@+id/layout"
140         android:title="@string/layout"
141         android:orderInCategory="900"
142         app:showAsAction="never" >
143
144         <menu>
145             <item
146                 android:id="@+id/font_size"
147                 android:title="@string/font_size"
148                 android:orderInCategory="910"
149                 app:showAsAction="never" >
150
151                 <menu>
152                     <group android:checkableBehavior="single">
153                         <item
154                             android:id="@+id/font_size_twenty_five_percent"
155                             android:title="@string/twenty_five_percent"
156                             android:orderInCategory="911"
157                             app:showAsAction="never" />
158
159                         <item
160                             android:id="@+id/font_size_fifty_percent"
161                             android:title="@string/fifty_percent"
162                             android:orderInCategory="912"
163                             app:showAsAction="never" />
164
165                         <item
166                             android:id="@+id/font_size_seventy_five_percent"
167                             android:title="@string/seventy_five_percent"
168                             android:orderInCategory="913"
169                             app:showAsAction="never" />
170
171                         <item
172                             android:id="@+id/font_size_one_hundred_percent"
173                             android:title="@string/one_hundred_percent"
174                             android:orderInCategory="914"
175                             app:showAsAction="never" />
176
177                         <item
178                             android:id="@+id/font_size_one_hundred_twenty_five_percent"
179                             android:title="@string/one_hundred_twenty_five_percent"
180                             android:orderInCategory="915"
181                             app:showAsAction="never" />
182
183                         <item
184                             android:id="@+id/font_size_one_hundred_fifty_percent"
185                             android:title="@string/one_hundred_fifty_percent"
186                             android:orderInCategory="916"
187                             app:showAsAction="never" />
188
189                         <item
190                             android:id="@+id/font_size_one_hundred_seventy_five_percent"
191                             android:title="@string/one_hundred_seventy_five_percent"
192                             android:orderInCategory="917"
193                             app:showAsAction="never" />
194
195                         <item
196                             android:id="@+id/font_size_two_hundred_percent"
197                             android:title="@string/two_hundred_percent"
198                             android:orderInCategory="918"
199                             app:showAsAction="never" />
200                     </group>
201                 </menu>
202             </item>
203
204             <item
205                 android:id="@+id/swipe_to_refresh"
206                 android:title="@string/swipe_to_refresh_options_menu"
207                 android:orderInCategory="920"
208                 android:checkable="true"
209                 app:showAsAction="never" />
210
211             <item
212                 android:id="@+id/display_images"
213                 android:title="@string/display_images"
214                 android:orderInCategory="930"
215                 android:checkable="true"
216                 app:showAsAction="never" />
217
218             <item
219                 android:id="@+id/view_source"
220                 android:title="@string/view_source"
221                 android:orderInCategory="940"
222                 app:showAsAction="never" />
223         </menu>
224     </item>
225
226     <item
227         android:id="@+id/share"
228         android:title="@string/share"
229         android:orderInCategory="1000"
230         app:showAsAction="never" />
231
232     <item
233         android:id="@+id/find_on_page"
234         android:title="@string/find_on_page"
235         android:orderInCategory="1100"
236         app:showAsAction="never|collapseActionView" />
237     <item
238         android:id="@+id/print"
239         android:title="@string/print"
240         android:orderInCategory="1200"
241         app:showAsAction="never" />
242
243     <item
244         android:id="@+id/add_to_homescreen"
245         android:title="@string/add_to_home_screen"
246         android:orderInCategory="1300"
247         app:showAsAction="never" />
248
249     <item
250         android:id="@+id/refresh"
251         android:title="@string/refresh"
252         android:orderInCategory="1400"
253         app:showAsAction="never" />
254
255     <item
256         android:id="@+id/ad_consent"
257         android:title="@string/ad_consent"
258         android:orderInCategory="1500"
259         app:showAsAction="never" />
260 </menu>