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=".Webview">
26 android:id="@+id/toggleJavaScript"
27 android:title="@string/javaScript"
28 android:orderInCategory="1"
29 android:checkable="true"
30 app:showAsAction="never" />
34 android:id="@+id/toggleDomStorage"
35 android:title="@string/domStorage"
36 android:orderInCategory="2"
37 android:checkable="true"
38 app:showAsAction="never" />
40 <!-- toggleSaveFormData does nothing until database storage is implemented
42 android:id="@+id/toggleSaveFormData"
43 android:title="@string/saveFormData"
44 android:orderInCategory="3"
45 android:checkable="true"
46 app:showAsAction="never" />
50 android:id="@+id/toggleCookies"
51 android:title="@string/cookies"
52 android:orderInCategory="4"
53 android:checkable="true"
54 app:showAsAction="never" />
57 android:id="@+id/clearDomStorage"
58 android:title="@string/clearDomStorage"
59 android:orderInCategory="5"
60 app:showAsAction="never" />
63 android:id="@+id/clearCookies"
64 android:title="@string/clearCookies"
65 android:orderInCategory="6"
66 app:showAsAction="never" />
69 android:id="@+id/home"
70 android:title="@string/home"
71 android:orderInCategory="10"
72 android:icon="@drawable/ic_home_black_24dp"
73 app:showAsAction="never" />
76 android:id="@+id/refresh"
77 android:title="@string/refresh"
78 android:orderInCategory="20"
79 app:showAsAction="never" />
82 android:id="@+id/back"
83 android:title="@string/back"
84 android:orderInCategory="30"
85 android:icon="@drawable/ic_back"
86 app:showAsAction="never" />
89 android:id="@+id/forward"
90 android:title="@string/forward"
91 android:orderInCategory="40"
92 android:icon="@drawable/ic_forward"
93 app:showAsAction="never" />
95 <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
97 android:id="@+id/copyURL"
98 android:title="@string/copy_URL"
99 android:orderInCategory="50"
101 app:showAsAction="never" />
103 <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
105 android:id="@+id/pasteURL"
106 android:title="@string/paste_URL"
107 android:orderInCategory="60"
109 app:showAsAction="never" />
112 android:id="@+id/shareURL"
113 android:title="@string/share_URL"
114 android:orderInCategory="70"
115 app:showAsAction="never" />
118 android:id="@+id/addToHomescreen"
119 android:title="@string/add_to_home_screen"
120 android:orderInCategory="80"
121 app:showAsAction="never" />
124 android:id="@+id/downloads"
125 android:title="@string/downloads"
126 android:orderInCategory="90"
127 app:showAsAction="never" />
130 android:id="@+id/about"
131 android:title="@string/about"
132 android:orderInCategory="100"
133 app:showAsAction="never" />
136 android:id="@+id/exit"
137 android:title="@string/exit"
138 android:orderInCategory="110"
139 app:showAsAction="never" />