]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_webview.xml
Add a menu item to toggle DOM Storage.
[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     <item
41         android:id="@+id/home"
42         android:title="@string/home"
43         android:orderInCategory="2"
44         android:icon="@drawable/ic_home_black_24dp"
45         app:showAsAction="never" />
46
47     <item
48         android:id="@+id/refresh"
49         android:title="@string/refresh"
50         android:orderInCategory="3"
51         app:showAsAction="never" />
52
53     <item
54         android:id="@+id/back"
55         android:title="@string/back"
56         android:orderInCategory="4"
57         android:icon="@drawable/ic_back"
58         app:showAsAction="never" />
59
60     <item
61         android:id="@+id/forward"
62         android:title="@string/forward"
63         android:orderInCategory="5"
64         android:icon="@drawable/ic_forward"
65         app:showAsAction="never" />
66
67     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
68     <item
69         android:id="@+id/copyURL"
70         android:title="@string/copy_URL"
71         android:orderInCategory="6"
72         tools:targetApi="11"
73         app:showAsAction="never" />
74
75     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
76     <item
77         android:id="@+id/pasteURL"
78         android:title="@string/paste_URL"
79         android:orderInCategory="7"
80         tools:targetApi="11"
81         app:showAsAction="never" />
82
83     <item
84         android:id="@+id/shareURL"
85         android:title="@string/share_URL"
86         android:orderInCategory="8"
87         app:showAsAction="never" />
88
89     <item
90         android:id="@+id/addToHomescreen"
91         android:title="@string/add_to_home_screen"
92         android:orderInCategory="9"
93         app:showAsAction="never" />
94
95     <item
96         android:id="@+id/downloads"
97         android:title="@string/downloads"
98         android:orderInCategory="10"
99         app:showAsAction="never" />
100
101     <item
102         android:id="@+id/about"
103         android:title="@string/about"
104         android:orderInCategory="11"
105         app:showAsAction="never" />
106 </menu>