123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- ownCloud Android client application
- Copyright (C) 2016 ownCloud Inc.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2,
- as published by the Free Software Foundation.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- -->
- <menu xmlns:android="http://schemas.android.com/apk/res/android">
- <!--
- standard menu
- all items in this group MUST have orderInCategory="0" set
- -->
- <group android:id="@+id/drawer_menu_standard" android:checkableBehavior="single">
- <item
- android:orderInCategory="0"
- android:id="@+id/nav_all_files"
- android:icon="@drawable/ic_folder_open"
- android:title="@string/drawer_item_all_files"/>
- <!-- TODO activate when On Device branch is merged
- <item
- android:orderInCategory="0"
- android:id="@+id/nav_on_device"
- android:icon="@drawable/ic_action_download_grey"
- android:title="@string/drawer_item_on_device"/>
- -->
- <item
- android:orderInCategory="0"
- android:id="@+id/nav_uploads"
- android:icon="@drawable/ic_uploads"
- android:title="Uploads"/>
- </group>
- <!--
- account list placeholder
- all items in this group MUST have orderInCategory="2" set
- all accounts are dynamically added with orderInCategory="1" set
- -->
- <group android:id="@+id/drawer_menu_accounts">
- <item
- android:orderInCategory="2"
- android:id="@+id/drawer_menu_account_add"
- android:icon="@drawable/ic_account_plus"
- android:title="@string/prefs_add_account"/>
- <item
- android:orderInCategory="2"
- android:id="@+id/drawer_menu_account_manage"
- android:icon="@drawable/ic_settings"
- android:title="@string/drawer_manage_accounts"/>
- </group>
- <!--
- all items in this group MUST have orderInCategory="3" set
- -->
- <group>
- <item
- android:orderInCategory="3"
- android:id="@+id/nav_settings"
- android:icon="@drawable/ic_settings"
- android:title="@string/actionbar_settings"/>
- </group>
- </menu>
|