]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/menu/menu_navigation.xml
Initial implementation of the navigation drawer.
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / menu_navigation.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="11" />
28
29     <item
30         android:id="@+id/back"
31         android:title="@string/back"
32         android:icon="@drawable/back"
33         android:orderInCategory="12" />
34
35     <item
36         android:id="@+id/forward"
37         android:title="@string/forward"
38         android:icon="@drawable/forward"
39         android:orderInCategory="13" />
40
41     <!-- If a group has an id, a line is drawn above it in the navigation view. -->
42     <group
43         android:id="@+id/navigationGroup1" >
44         <item
45             android:id="@+id/downloads"
46             android:title="@string/downloads"
47             android:icon="@drawable/downloads"
48             android:orderInCategory="20" />
49
50         <item
51             android:id="@+id/settings"
52             android:title="@string/settings"
53             android:icon="@drawable/settings"
54             android:orderInCategory="30" />
55
56         <item
57             android:id="@+id/about"
58             android:title="@string/about"
59             android:icon="@drawable/about"
60             android:orderInCategory="40" />
61     </group>
62
63     <!-- If a group has an id, a line is drawn above it in the navigation view. -->
64     <group
65         android:id="@+id/navigationGroup2" >
66         <item
67             android:id="@+id/clearAndExit"
68             android:title="@string/clear_and_exit"
69             android:icon="@drawable/exit"
70             android:orderInCategory="50" />
71     </group>
72 </menu>