]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_webview.xml
d0042d9853e6f55e0f96dc42e3d1601231f38d8a
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / menu_webview.xml
1 <!--
2   Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
3
4   This file is part of Privacy Browser <https://privacybrowser.stoutner.com/>.
5
6   Privacy Browser is free software: you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10
11   Privacy Browser is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
18
19 <menu
20     xmlns:android="http://schemas.android.com/apk/res/android"
21     xmlns:app="http://schemas.android.com/apk/res-auto"
22     xmlns:tools="http://schemas.android.com/tools"
23     tools:context=".Webview">
24
25     <item
26         android:id="@+id/toggleJavaScript"
27         android:title="@string/javaScript"
28         android:orderInCategory="1"
29         android:checkable="true"
30         app:showAsAction="never" />
31
32
33     <item
34         android:id="@+id/toggleDomStorage"
35         android:title="@string/domStorage"
36         android:orderInCategory="2"
37         android:checkable="true"
38         app:showAsAction="never" />
39
40     <!-- toggleSaveFormData does nothing until database storage is implemented
41     <item
42         android:id="@+id/toggleSaveFormData"
43         android:title="@string/saveFormData"
44         android:orderInCategory="3"
45         android:checkable="true"
46         app:showAsAction="never" />
47         -->
48
49     <item
50         android:id="@+id/toggleCookies"
51         android:title="@string/cookies"
52         android:orderInCategory="4"
53         android:checkable="true"
54         app:showAsAction="never" />
55
56     <item
57         android:id="@+id/clearDomStorage"
58         android:title="@string/clearDomStorage"
59         android:orderInCategory="5"
60         app:showAsAction="never" />
61
62     <item
63         android:id="@+id/clearCookies"
64         android:title="@string/clearCookies"
65         android:orderInCategory="6"
66         app:showAsAction="never" />
67
68     <item
69         android:id="@+id/home"
70         android:title="@string/home"
71         android:orderInCategory="10"
72         android:icon="@drawable/ic_home_black_24dp"
73         app:showAsAction="never" />
74
75     <item
76         android:id="@+id/refresh"
77         android:title="@string/refresh"
78         android:orderInCategory="20"
79         app:showAsAction="never" />
80
81     <item
82         android:id="@+id/back"
83         android:title="@string/back"
84         android:orderInCategory="30"
85         android:icon="@drawable/ic_back"
86         app:showAsAction="never" />
87
88     <item
89         android:id="@+id/forward"
90         android:title="@string/forward"
91         android:orderInCategory="40"
92         android:icon="@drawable/ic_forward"
93         app:showAsAction="never" />
94
95     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
96     <item
97         android:id="@+id/copyURL"
98         android:title="@string/copy_URL"
99         android:orderInCategory="50"
100         tools:targetApi="11"
101         app:showAsAction="never" />
102
103     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
104     <item
105         android:id="@+id/pasteURL"
106         android:title="@string/paste_URL"
107         android:orderInCategory="60"
108         tools:targetApi="11"
109         app:showAsAction="never" />
110
111     <item
112         android:id="@+id/shareURL"
113         android:title="@string/share_URL"
114         android:orderInCategory="70"
115         app:showAsAction="never" />
116
117     <item
118         android:id="@+id/addToHomescreen"
119         android:title="@string/add_to_home_screen"
120         android:orderInCategory="80"
121         app:showAsAction="never" />
122
123     <item
124         android:id="@+id/downloads"
125         android:title="@string/downloads"
126         android:orderInCategory="90"
127         app:showAsAction="never" />
128
129     <item
130         android:id="@+id/about"
131         android:title="@string/about"
132         android:orderInCategory="100"
133         app:showAsAction="never" />
134
135     <item
136         android:id="@+id/exit"
137         android:title="@string/exit"
138         android:orderInCategory="110"
139         app:showAsAction="never" />
140 </menu>