]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_webview.xml
a8c38b4ad03e3542da1c841004e1739100acbbca
[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://www.stoutner.com/privacy-browser>.
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=".MainWebViewActivity">
26
27     <item
28         android:id="@+id/toggleJavaScript"
29         android:title="@string/javascript"
30         android:orderInCategory="10"
31         app:showAsAction="always" />
32
33     <item
34         android:id="@+id/toggleDomStorage"
35         android:title="@string/dom_storage"
36         android:orderInCategory="20"
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="30"
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="40"
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="50"
60         app:showAsAction="never" />
61
62     <item
63         android:id="@+id/clearCookies"
64         android:title="@string/clear_cookies"
65         android:orderInCategory="60"
66         app:showAsAction="never" />
67
68     <item
69         android:id="@+id/addToHomescreen"
70         android:title="@string/add_to_home_screen"
71         android:orderInCategory="70"
72         app:showAsAction="never" />
73
74     <item
75         android:id="@+id/downloads"
76         android:title="@string/downloads"
77         android:orderInCategory="80"
78         app:showAsAction="never" />
79
80     <item
81         android:id="@+id/navigation"
82         android:title="@string/navigation"
83         android:orderInCategory="90"
84         app:showAsAction="never" >
85         <menu>
86             <item
87                 android:id="@+id/home"
88                 android:title="@string/home"
89                 android:orderInCategory="91"
90                 app:showAsAction="never" />
91
92             <item
93                 android:id="@+id/back"
94                 android:title="@string/back"
95                 android:orderInCategory="92"
96                 app:showAsAction="never" />
97
98             <item
99                 android:id="@+id/forward"
100                 android:title="@string/forward"
101                 android:orderInCategory="93"
102                 app:showAsAction="never" />
103         </menu>
104     </item>
105
106     <item
107         android:id="@+id/share"
108         android:title="@string/share"
109         android:orderInCategory="100"
110         app:showAsAction="never" />
111
112     <item
113         android:id="@+id/settings"
114         android:title="@string/settings"
115         android:orderInCategory="110"
116         app:showAsAction="never" />
117
118     <item
119         android:id="@+id/about"
120         android:title="@string/about"
121         android:orderInCategory="120"
122         app:showAsAction="never" />
123
124     <item
125         android:id="@+id/clearAndExit"
126         android:title="@string/clear_and_exit"
127         android:orderInCategory="130"
128         app:showAsAction="never" />
129 </menu>