2 Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
4 This file is part of Privacy Browser <https://privacybrowser.stoutner.com/>.
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.
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.
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/>. -->
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=".MainWebView">
26 android:id="@+id/toggleJavaScript"
27 android:title="@string/javascript"
28 android:orderInCategory="1"
29 app:showAsAction="always" />
32 android:id="@+id/toggleDomStorage"
33 android:title="@string/dom_storage"
34 android:orderInCategory="2"
35 android:checkable="true"
36 app:showAsAction="never" />
38 <!-- toggleSaveFormData does nothing until database storage is implemented
40 android:id="@+id/toggleSaveFormData"
41 android:title="@string/saveFormData"
42 android:orderInCategory="3"
43 android:checkable="true"
44 app:showAsAction="never" />
48 android:id="@+id/toggleCookies"
49 android:title="@string/cookies"
50 android:orderInCategory="4"
51 android:checkable="true"
52 app:showAsAction="never" />
55 android:id="@+id/clearDomStorage"
56 android:title="@string/clear_dom_storage"
57 android:orderInCategory="5"
58 app:showAsAction="never" />
61 android:id="@+id/clearCookies"
62 android:title="@string/clear_cookies"
63 android:orderInCategory="6"
64 app:showAsAction="never" />
67 android:id="@+id/home"
68 android:title="@string/home"
69 android:orderInCategory="10"
70 app:showAsAction="never" />
73 android:id="@+id/refresh"
74 android:title="@string/refresh"
75 android:orderInCategory="20"
76 app:showAsAction="never" />
79 android:id="@+id/back"
80 android:title="@string/back"
81 android:orderInCategory="30"
82 app:showAsAction="never" />
85 android:id="@+id/forward"
86 android:title="@string/forward"
87 android:orderInCategory="40"
88 app:showAsAction="never" />
90 <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
92 android:id="@+id/copyURL"
93 android:title="@string/copy_url"
94 android:orderInCategory="50"
96 app:showAsAction="never" />
98 <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
100 android:id="@+id/pasteURL"
101 android:title="@string/paste_url"
102 android:orderInCategory="60"
104 app:showAsAction="never" />
107 android:id="@+id/shareURL"
108 android:title="@string/share_url"
109 android:orderInCategory="70"
110 app:showAsAction="never" />
113 android:id="@+id/addToHomescreen"
114 android:title="@string/add_to_home_screen"
115 android:orderInCategory="80"
116 app:showAsAction="never" />
119 android:id="@+id/downloads"
120 android:title="@string/downloads"
121 android:orderInCategory="90"
122 app:showAsAction="never" />
125 android:id="@+id/about"
126 android:title="@string/about"
127 android:orderInCategory="100"
128 app:showAsAction="never" />
131 android:id="@+id/clearAndExit"
132 android:title="@string/clear_and_exit"
133 android:orderInCategory="110"
134 app:showAsAction="never" />