]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_webview.xml
Create Cookie menu options.
[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/clearCookies"
58         android:title="@string/clearCookies"
59         android:orderInCategory="5"
60         app:showAsAction="never" />
61
62     <item
63         android:id="@+id/home"
64         android:title="@string/home"
65         android:orderInCategory="10"
66         android:icon="@drawable/ic_home_black_24dp"
67         app:showAsAction="never" />
68
69     <item
70         android:id="@+id/refresh"
71         android:title="@string/refresh"
72         android:orderInCategory="20"
73         app:showAsAction="never" />
74
75     <item
76         android:id="@+id/back"
77         android:title="@string/back"
78         android:orderInCategory="30"
79         android:icon="@drawable/ic_back"
80         app:showAsAction="never" />
81
82     <item
83         android:id="@+id/forward"
84         android:title="@string/forward"
85         android:orderInCategory="40"
86         android:icon="@drawable/ic_forward"
87         app:showAsAction="never" />
88
89     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
90     <item
91         android:id="@+id/copyURL"
92         android:title="@string/copy_URL"
93         android:orderInCategory="50"
94         tools:targetApi="11"
95         app:showAsAction="never" />
96
97     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
98     <item
99         android:id="@+id/pasteURL"
100         android:title="@string/paste_URL"
101         android:orderInCategory="60"
102         tools:targetApi="11"
103         app:showAsAction="never" />
104
105     <item
106         android:id="@+id/shareURL"
107         android:title="@string/share_URL"
108         android:orderInCategory="70"
109         app:showAsAction="never" />
110
111     <item
112         android:id="@+id/addToHomescreen"
113         android:title="@string/add_to_home_screen"
114         android:orderInCategory="80"
115         app:showAsAction="never" />
116
117     <item
118         android:id="@+id/downloads"
119         android:title="@string/downloads"
120         android:orderInCategory="90"
121         app:showAsAction="never" />
122
123     <item
124         android:id="@+id/about"
125         android:title="@string/about"
126         android:orderInCategory="100"
127         app:showAsAction="never" />
128 </menu>