|
@@ -22,51 +22,57 @@
|
|
all items in this group MUST have orderInCategory="0" set
|
|
all items in this group MUST have orderInCategory="0" set
|
|
|
|
|
|
-->
|
|
-->
|
|
- <group android:id="@+id/drawer_menu_standard" android:checkableBehavior="single">
|
|
|
|
|
|
+ <group
|
|
|
|
+ android:id="@+id/drawer_menu_standard"
|
|
|
|
+ android:checkableBehavior="single">
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_all_files"
|
|
android:id="@+id/nav_all_files"
|
|
android:icon="@drawable/ic_folder_open"
|
|
android:icon="@drawable/ic_folder_open"
|
|
|
|
+ android:orderInCategory="0"
|
|
android:title="@string/drawer_item_all_files"/>
|
|
android:title="@string/drawer_item_all_files"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_favorites"
|
|
android:id="@+id/nav_favorites"
|
|
android:icon="@drawable/ic_favorite"
|
|
android:icon="@drawable/ic_favorite"
|
|
|
|
+ android:orderInCategory="0"
|
|
android:title="@string/drawer_item_favorites"/>
|
|
android:title="@string/drawer_item_favorites"/>
|
|
<item
|
|
<item
|
|
android:id="@+id/nav_photos"
|
|
android:id="@+id/nav_photos"
|
|
android:icon="@drawable/file_image"
|
|
android:icon="@drawable/file_image"
|
|
- android:title="@string/drawer_item_photos"/>
|
|
|
|
|
|
+ android:title="@string/drawer_item_photos"
|
|
|
|
+ android:visible="false"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_recently_added"
|
|
android:id="@+id/nav_recently_added"
|
|
|
|
+ android:icon="@drawable/ic_recent"
|
|
|
|
+ android:orderInCategory="0"
|
|
android:title="@string/drawer_item_recently_added"
|
|
android:title="@string/drawer_item_recently_added"
|
|
android:visible="false"/>
|
|
android:visible="false"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_recently_modified"
|
|
android:id="@+id/nav_recently_modified"
|
|
|
|
+ android:icon="@drawable/ic_recent"
|
|
|
|
+ android:orderInCategory="0"
|
|
android:title="@string/drawer_item_recently_modified"
|
|
android:title="@string/drawer_item_recently_modified"
|
|
android:visible="false"/>
|
|
android:visible="false"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_shared"
|
|
android:id="@+id/nav_shared"
|
|
|
|
+ android:orderInCategory="0"
|
|
|
|
+ android:icon="@drawable/ic_shared"
|
|
android:title="@string/drawer_item_shared"
|
|
android:title="@string/drawer_item_shared"
|
|
android:visible="false"/>
|
|
android:visible="false"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_videos"
|
|
android:id="@+id/nav_videos"
|
|
- android:title="@string/drawer_item_videos"
|
|
|
|
android:icon="@drawable/file_movie"
|
|
android:icon="@drawable/file_movie"
|
|
|
|
+ android:orderInCategory="0"
|
|
|
|
+ android:title="@string/drawer_item_videos"
|
|
android:visible="false"/>
|
|
android:visible="false"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_on_device"
|
|
android:id="@+id/nav_on_device"
|
|
android:icon="@drawable/ic_action_available_offline"
|
|
android:icon="@drawable/ic_action_available_offline"
|
|
|
|
+ android:orderInCategory="0"
|
|
android:title="@string/drawer_item_on_device"/>
|
|
android:title="@string/drawer_item_on_device"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="0"
|
|
|
|
android:id="@+id/nav_folder_sync"
|
|
android:id="@+id/nav_folder_sync"
|
|
android:icon="@drawable/ic_cloud_upload"
|
|
android:icon="@drawable/ic_cloud_upload"
|
|
|
|
+ android:orderInCategory="0"
|
|
android:title="@string/drawer_folder_sync"/>
|
|
android:title="@string/drawer_folder_sync"/>
|
|
</group>
|
|
</group>
|
|
|
|
|
|
@@ -77,35 +83,37 @@
|
|
-->
|
|
-->
|
|
<group android:id="@+id/drawer_menu_accounts">
|
|
<group android:id="@+id/drawer_menu_accounts">
|
|
<item
|
|
<item
|
|
- android:orderInCategory="2"
|
|
|
|
android:id="@+id/drawer_menu_account_add"
|
|
android:id="@+id/drawer_menu_account_add"
|
|
android:icon="@drawable/ic_account_plus"
|
|
android:icon="@drawable/ic_account_plus"
|
|
|
|
+ android:orderInCategory="2"
|
|
android:title="@string/prefs_add_account"/>
|
|
android:title="@string/prefs_add_account"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="2"
|
|
|
|
android:id="@+id/drawer_menu_account_manage"
|
|
android:id="@+id/drawer_menu_account_manage"
|
|
android:icon="@drawable/ic_settings"
|
|
android:icon="@drawable/ic_settings"
|
|
|
|
+ android:orderInCategory="2"
|
|
android:title="@string/drawer_manage_accounts"/>
|
|
android:title="@string/drawer_manage_accounts"/>
|
|
</group>
|
|
</group>
|
|
|
|
|
|
<!--
|
|
<!--
|
|
all items in this group MUST have orderInCategory="3" set
|
|
all items in this group MUST have orderInCategory="3" set
|
|
-->
|
|
-->
|
|
- <group android:id="@+id/drawer_menu_bottom" android:checkableBehavior="single">
|
|
|
|
|
|
+ <group
|
|
|
|
+ android:id="@+id/drawer_menu_bottom"
|
|
|
|
+ android:checkableBehavior="single">
|
|
<item
|
|
<item
|
|
- android:orderInCategory="2"
|
|
|
|
android:id="@+id/nav_uploads"
|
|
android:id="@+id/nav_uploads"
|
|
android:icon="@drawable/ic_uploads"
|
|
android:icon="@drawable/ic_uploads"
|
|
|
|
+ android:orderInCategory="2"
|
|
android:title="@string/drawer_item_uploads_list"/>
|
|
android:title="@string/drawer_item_uploads_list"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="3"
|
|
|
|
android:id="@+id/nav_settings"
|
|
android:id="@+id/nav_settings"
|
|
android:icon="@drawable/ic_settings"
|
|
android:icon="@drawable/ic_settings"
|
|
|
|
+ android:orderInCategory="3"
|
|
android:title="@string/actionbar_settings"/>
|
|
android:title="@string/actionbar_settings"/>
|
|
<item
|
|
<item
|
|
- android:orderInCategory="3"
|
|
|
|
android:id="@+id/nav_participate"
|
|
android:id="@+id/nav_participate"
|
|
android:icon="@drawable/ic_participate"
|
|
android:icon="@drawable/ic_participate"
|
|
|
|
+ android:orderInCategory="3"
|
|
android:title="@string/drawer_participate"/>
|
|
android:title="@string/drawer_participate"/>
|
|
</group>
|
|
</group>
|
|
|
|
|