]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_options.xml
Initial implementation of the navigation drawer.
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / menu_options.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/share"
70         android:title="@string/share"
71         android:orderInCategory="70"
72         app:showAsAction="never" />
73
74     <item
75         android:id="@+id/addToHomescreen"
76         android:title="@string/add_to_home_screen"
77         android:orderInCategory="80"
78         app:showAsAction="never" />
79 </menu>