1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://privacybrowser.stoutner.com/>.
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.
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.
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/>. -->
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">
28 android:id="@+id/toggleJavaScript"
29 android:title="@string/javascript"
30 android:orderInCategory="1"
31 app:showAsAction="always" />
34 android:id="@+id/toggleDomStorage"
35 android:title="@string/dom_storage"
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/clear_dom_storage"
59 android:orderInCategory="5"
60 app:showAsAction="never" />
63 android:id="@+id/clearCookies"
64 android:title="@string/clear_cookies"
65 android:orderInCategory="6"
66 app:showAsAction="never" />
69 android:id="@+id/home"
70 android:title="@string/home"
71 android:orderInCategory="10"
72 app:showAsAction="never" />
75 android:id="@+id/refresh"
76 android:title="@string/refresh"
77 android:orderInCategory="20"
78 app:showAsAction="never" />
81 android:id="@+id/back"
82 android:title="@string/back"
83 android:orderInCategory="30"
84 app:showAsAction="never" />
87 android:id="@+id/forward"
88 android:title="@string/forward"
89 android:orderInCategory="40"
90 app:showAsAction="never" />
92 <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
94 android:id="@+id/copyURL"
95 android:title="@string/copy_url"
96 android:orderInCategory="50"
98 app:showAsAction="never" />
100 <!-- tools:targetApi="11" is required because copy and paste was not available on earlier version of Android. -->
102 android:id="@+id/pasteURL"
103 android:title="@string/paste_url"
104 android:orderInCategory="60"
106 app:showAsAction="never" />
109 android:id="@+id/shareURL"
110 android:title="@string/share_url"
111 android:orderInCategory="70"
112 app:showAsAction="never" />
115 android:id="@+id/addToHomescreen"
116 android:title="@string/add_to_home_screen"
117 android:orderInCategory="80"
118 app:showAsAction="never" />
121 android:id="@+id/downloads"
122 android:title="@string/downloads"
123 android:orderInCategory="90"
124 app:showAsAction="never" />
127 android:id="@+id/settings"
128 android:title="@string/settings"
129 android:orderInCategory="100"
130 app:showAsAction="never" />
133 android:id="@+id/about"
134 android:title="@string/about"
135 android:orderInCategory="110"
136 app:showAsAction="never" />
139 android:id="@+id/clearAndExit"
140 android:title="@string/clear_and_exit"
141 android:orderInCategory="120"
142 app:showAsAction="never" />