]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/webview_options_menu.xml
Update German translation. Finish optional app bar icons implementation.
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / webview_options_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright 2015-2016 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=".MainWebViewActivity">
26
27     <item
28         android:id="@+id/toggleJavaScript"
29         android:title="@string/javascript"
30         android:orderInCategory="10"
31         app:showAsAction="ifRoom" />
32
33     <item
34         android:id="@+id/toggleFirstPartyCookies"
35         android:title="@string/first_party_cookies"
36         android:orderInCategory="20"
37         android:checkable="true"
38         app:showAsAction="never" />
39
40     <item
41         android:id="@+id/toggleThirdPartyCookies"
42         android:title="@string/third_party_cookies"
43         android:orderInCategory="30"
44         android:checkable="true"
45         app:showAsAction="never" />
46
47     <item
48         android:id="@+id/toggleDomStorage"
49         android:title="@string/dom_storage"
50         android:orderInCategory="40"
51         android:checkable="true"
52         app:showAsAction="never" />
53
54     <item
55         android:id="@+id/toggleSaveFormData"
56         android:title="@string/form_data"
57         android:orderInCategory="50"
58         android:checkable="true"
59         app:showAsAction="never" />
60
61     <item
62         android:id="@+id/clearCookies"
63         android:title="@string/clear_cookies"
64         android:orderInCategory="60"
65         app:showAsAction="never" />
66
67     <item
68         android:id="@+id/clearDomStorage"
69         android:title="@string/clear_dom_storage"
70         android:orderInCategory="70"
71         app:showAsAction="never" />
72
73     <item
74         android:id="@+id/clearFormData"
75         android:title="@string/clear_form_data"
76         android:orderInCategory="80"
77         app:showAsAction="never" />
78
79     <item
80         android:id="@+id/fontSize"
81         android:title="@string/font_size"
82         android:orderInCategory="90"
83         app:showAsAction="never" >
84
85         <menu>
86             <group android:checkableBehavior="single">
87                 <item
88                     android:id="@+id/fontSizeFiftyPercent"
89                     android:title="@string/fifty_percent"
90                     android:orderInCategory="91"
91                     app:showAsAction="never" />
92
93                 <item
94                     android:id="@+id/fontSizeSeventyFivePercent"
95                     android:title="@string/seventy_five_percent"
96                     android:orderInCategory="92"
97                     app:showAsAction="never" />
98
99                 <item
100                     android:id="@+id/fontSizeOneHundredPercent"
101                     android:title="@string/one_hundred_percent"
102                     android:orderInCategory="93"
103                     app:showAsAction="never" />
104
105                 <item
106                     android:id="@+id/fontSizeOneHundredTwentyFivePercent"
107                     android:title="@string/one_hundred_twenty_five_percent"
108                     android:orderInCategory="94"
109                     app:showAsAction="never" />
110
111                 <item
112                     android:id="@+id/fontSizeOneHundredFiftyPercent"
113                     android:title="@string/one_hundred_fifty_percent"
114                     android:orderInCategory="95"
115                     app:showAsAction="never" />
116
117                 <item
118                     android:id="@+id/fontSizeOneHundredSeventyFivePercent"
119                     android:title="@string/one_hundred_seventy_five_percent"
120                     android:orderInCategory="96"
121                     app:showAsAction="never" />
122
123                 <item
124                     android:id="@+id/fontSizeTwoHundredPercent"
125                     android:title="@string/two_hundred_percent"
126                     android:orderInCategory="97"
127                     app:showAsAction="never" />
128             </group>
129         </menu>
130     </item>
131
132     <item
133         android:id="@+id/share"
134         android:title="@string/share"
135         android:orderInCategory="100"
136         app:showAsAction="never" />
137
138     <item
139         android:id="@+id/addToHomescreen"
140         android:title="@string/add_to_home_screen"
141         android:orderInCategory="110"
142         app:showAsAction="never" />
143
144     <item
145         android:id="@+id/refresh"
146         android:title="@string/refresh"
147         android:orderInCategory="120"
148         app:showAsAction="never" />
149 </menu>