]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_webview.xml
29a57e557401a62d506be2cf9d8b9ab14828c853
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / menu_webview.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://privacybrowser.stoutner.com/>.
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=".MainWebView">
26
27     <item
28         android:id="@+id/toggleJavaScript"
29         android:title="@string/javascript"
30         android:orderInCategory="1"
31         app:showAsAction="always" />
32
33     <item
34         android:id="@+id/toggleDomStorage"
35         android:title="@string/dom_storage"
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/clear_dom_storage"
59         android:orderInCategory="5"
60         app:showAsAction="never" />
61
62     <item
63         android:id="@+id/clearCookies"
64         android:title="@string/clear_cookies"
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         app:showAsAction="never" />
73
74     <item
75         android:id="@+id/refresh"
76         android:title="@string/refresh"
77         android:orderInCategory="20"
78         app:showAsAction="never" />
79
80     <item
81         android:id="@+id/back"
82         android:title="@string/back"
83         android:orderInCategory="30"
84         app:showAsAction="never" />
85
86     <item
87         android:id="@+id/forward"
88         android:title="@string/forward"
89         android:orderInCategory="40"
90         app:showAsAction="never" />
91
92     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
93     <item
94         android:id="@+id/copyURL"
95         android:title="@string/copy_url"
96         android:orderInCategory="50"
97         tools:targetApi="11"
98         app:showAsAction="never" />
99
100     <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
101     <item
102         android:id="@+id/pasteURL"
103         android:title="@string/paste_url"
104         android:orderInCategory="60"
105         tools:targetApi="11"
106         app:showAsAction="never" />
107
108     <item
109         android:id="@+id/shareURL"
110         android:title="@string/share_url"
111         android:orderInCategory="70"
112         app:showAsAction="never" />
113
114     <item
115         android:id="@+id/addToHomescreen"
116         android:title="@string/add_to_home_screen"
117         android:orderInCategory="80"
118         app:showAsAction="never" />
119
120     <item
121         android:id="@+id/downloads"
122         android:title="@string/downloads"
123         android:orderInCategory="90"
124         app:showAsAction="never" />
125
126     <item
127         android:id="@+id/settings"
128         android:title="@string/settings"
129         android:orderInCategory="100"
130         app:showAsAction="never" />
131
132     <item
133         android:id="@+id/about"
134         android:title="@string/about"
135         android:orderInCategory="110"
136         app:showAsAction="never" />
137
138     <item
139         android:id="@+id/clearAndExit"
140         android:title="@string/clear_and_exit"
141         android:orderInCategory="120"
142         app:showAsAction="never" />
143 </menu>