]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/webview_navigation_menu.xml
Add a forward and back history list. Resolves https://redmine.stoutner.com/issues/24.
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / webview_navigation_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright 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     <item
24         android:id="@+id/home"
25         android:title="@string/home"
26         android:icon="@drawable/home"
27         android:orderInCategory="10" />
28
29     <item
30         android:id="@+id/back"
31         android:title="@string/back"
32         android:icon="@drawable/back"
33         android:orderInCategory="20" />
34
35     <item
36         android:id="@+id/forward"
37         android:title="@string/forward"
38         android:icon="@drawable/forward"
39         android:orderInCategory="30" />
40
41     <item
42         android:id="@+id/history"
43         android:title="@string/history"
44         android:icon="@drawable/history"
45         android:orderInCategory="40" />
46
47     <!-- If a group has an id, a line is drawn above it in the navigation view. -->
48     <group
49         android:id="@+id/navigationGroup1" >
50         <item
51             android:id="@+id/bookmarks"
52             android:title="@string/bookmarks"
53             android:icon="@drawable/bookmarks"
54             android:orderInCategory="50" />
55
56         <item
57             android:id="@+id/downloads"
58             android:title="@string/downloads"
59             android:icon="@drawable/downloads"
60             android:orderInCategory="60" />
61     </group>
62
63     <group
64         android:id="@+id/navigationGroup2" >
65         <item
66             android:id="@+id/settings"
67             android:title="@string/settings"
68             android:icon="@drawable/settings"
69             android:orderInCategory="70" />
70
71         <item
72             android:id="@+id/guide"
73             android:title="@string/guide"
74             android:icon="@drawable/guide"
75             android:orderInCategory="80" />
76
77         <item
78             android:id="@+id/about"
79             android:title="@string/about"
80             android:icon="@drawable/about"
81             android:orderInCategory="90" />
82     </group>
83
84     <!-- If a group has an id, a line is drawn above it in the navigation view. -->
85     <group
86         android:id="@+id/navigationGroup3" >
87         <item
88             android:id="@+id/clearAndExit"
89             android:title="@string/clear_and_exit"
90             android:icon="@drawable/exit"
91             android:orderInCategory="100" />
92     </group>
93 </menu>