drawer_menu.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2016 ownCloud Inc.
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License version 2,
  7. as published by the Free Software Foundation.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <menu xmlns:android="http://schemas.android.com/apk/res/android">
  16. <!--
  17. standard menu
  18. all items in this group MUST have orderInCategory="0" set
  19. -->
  20. <group android:id="@+id/drawer_menu_standard" android:checkableBehavior="single">
  21. <item
  22. android:orderInCategory="0"
  23. android:id="@+id/nav_all_files"
  24. android:icon="@drawable/ic_folder_open"
  25. android:title="@string/drawer_item_all_files"/>
  26. <!-- TODO activate when On Device branch is merged
  27. <item
  28. android:orderInCategory="0"
  29. android:id="@+id/nav_on_device"
  30. android:icon="@drawable/ic_action_download_grey"
  31. android:title="@string/drawer_item_on_device"/>
  32. -->
  33. <item
  34. android:orderInCategory="0"
  35. android:id="@+id/nav_uploads"
  36. android:icon="@drawable/ic_uploads"
  37. android:title="Uploads"/>
  38. </group>
  39. <!--
  40. account list placeholder
  41. all items in this group MUST have orderInCategory="2" set
  42. all accounts are dynamically added with orderInCategory="1" set
  43. -->
  44. <group android:id="@+id/drawer_menu_accounts">
  45. <item
  46. android:orderInCategory="2"
  47. android:id="@+id/drawer_menu_account_add"
  48. android:icon="@drawable/ic_account_plus"
  49. android:title="@string/prefs_add_account"/>
  50. <item
  51. android:orderInCategory="2"
  52. android:id="@+id/drawer_menu_account_manage"
  53. android:icon="@drawable/ic_settings"
  54. android:title="@string/drawer_manage_accounts"/>
  55. </group>
  56. <!--
  57. all items in this group MUST have orderInCategory="3" set
  58. -->
  59. <group>
  60. <item
  61. android:orderInCategory="3"
  62. android:id="@+id/nav_settings"
  63. android:icon="@drawable/ic_settings"
  64. android:title="@string/actionbar_settings"/>
  65. </group>
  66. </menu>