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