]> 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-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/ultraprivacy"
131                 android:title="@string/ultraprivacy"
132                 android:orderInCategory="850"
133                 android:checkable="true"
134                 app:showAsAction="never" />
135
136             <item
137                 android:id="@+id/block_all_third_party_requests"
138                 android:title="@string/options_block_all_third_party_requests"
139                 android:orderInCategory="860"
140                 android:checkable="true"
141                 app:showAsAction="never" />
142         </menu>
143     </item>
144
145     <item
146         android:id="@+id/layout"
147         android:title="@string/layout"
148         android:orderInCategory="900"
149         app:showAsAction="never" >
150
151         <menu>
152             <item
153                 android:id="@+id/font_size"
154                 android:title="@string/font_size"
155                 android:orderInCategory="910"
156                 app:showAsAction="never" >
157
158                 <menu>
159                     <group android:checkableBehavior="single">
160                         <item
161                             android:id="@+id/font_size_twenty_five_percent"
162                             android:title="@string/twenty_five_percent"
163                             android:orderInCategory="911"
164                             app:showAsAction="never" />
165
166                         <item
167                             android:id="@+id/font_size_fifty_percent"
168                             android:title="@string/fifty_percent"
169                             android:orderInCategory="912"
170                             app:showAsAction="never" />
171
172                         <item
173                             android:id="@+id/font_size_seventy_five_percent"
174                             android:title="@string/seventy_five_percent"
175                             android:orderInCategory="913"
176                             app:showAsAction="never" />
177
178                         <item
179                             android:id="@+id/font_size_one_hundred_percent"
180                             android:title="@string/one_hundred_percent"
181                             android:orderInCategory="914"
182                             app:showAsAction="never" />
183
184                         <item
185                             android:id="@+id/font_size_one_hundred_twenty_five_percent"
186                             android:title="@string/one_hundred_twenty_five_percent"
187                             android:orderInCategory="915"
188                             app:showAsAction="never" />
189
190                         <item
191                             android:id="@+id/font_size_one_hundred_fifty_percent"
192                             android:title="@string/one_hundred_fifty_percent"
193                             android:orderInCategory="916"
194                             app:showAsAction="never" />
195
196                         <item
197                             android:id="@+id/font_size_one_hundred_seventy_five_percent"
198                             android:title="@string/one_hundred_seventy_five_percent"
199                             android:orderInCategory="917"
200                             app:showAsAction="never" />
201
202                         <item
203                             android:id="@+id/font_size_two_hundred_percent"
204                             android:title="@string/two_hundred_percent"
205                             android:orderInCategory="918"
206                             app:showAsAction="never" />
207                     </group>
208                 </menu>
209             </item>
210
211             <item
212                 android:id="@+id/swipe_to_refresh"
213                 android:title="@string/swipe_to_refresh_options_menu"
214                 android:orderInCategory="920"
215                 android:checkable="true"
216                 app:showAsAction="never" />
217
218             <item
219                 android:id="@+id/display_images"
220                 android:title="@string/display_images"
221                 android:orderInCategory="930"
222                 android:checkable="true"
223                 app:showAsAction="never" />
224
225             <item
226                 android:id="@+id/view_source"
227                 android:title="@string/view_source"
228                 android:orderInCategory="940"
229                 app:showAsAction="never" />
230         </menu>
231     </item>
232
233     <item
234         android:id="@+id/share"
235         android:title="@string/share"
236         android:orderInCategory="1000"
237         app:showAsAction="never" />
238
239     <item
240         android:id="@+id/find_on_page"
241         android:title="@string/find_on_page"
242         android:orderInCategory="1100"
243         app:showAsAction="never|collapseActionView" />
244     <item
245         android:id="@+id/print"
246         android:title="@string/print"
247         android:orderInCategory="1200"
248         app:showAsAction="never" />
249
250     <item
251         android:id="@+id/add_to_homescreen"
252         android:title="@string/add_to_home_screen"
253         android:orderInCategory="1300"
254         app:showAsAction="never" />
255
256     <item
257         android:id="@+id/refresh"
258         android:title="@string/refresh"
259         android:orderInCategory="1400"
260         app:showAsAction="never" />
261
262     <item
263         android:id="@+id/ad_consent"
264         android:title="@string/ad_consent"
265         android:orderInCategory="1500"
266         app:showAsAction="never" />
267 </menu>