diff options
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r-- | app/src/main/res/menu/activity_main_drawer.xml | 38 | ||||
-rw-r--r-- | app/src/main/res/menu/main.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/menu/view_image.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/menu/view_video.xml | 10 |
4 files changed, 67 insertions, 0 deletions
diff --git a/app/src/main/res/menu/activity_main_drawer.xml b/app/src/main/res/menu/activity_main_drawer.xml new file mode 100644 index 00000000..a30626e5 --- /dev/null +++ b/app/src/main/res/menu/activity_main_drawer.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + tools:showIn="navigation_view"> + + <group android:checkableBehavior="single"> + <item + android:id="@+id/nav_camera" + android:icon="@drawable/ic_menu_camera" + android:title="Import" /> + <item + android:id="@+id/nav_gallery" + android:icon="@drawable/ic_menu_gallery" + android:title="Gallery" /> + <item + android:id="@+id/nav_slideshow" + android:icon="@drawable/ic_menu_slideshow" + android:title="Slideshow" /> + <item + android:id="@+id/nav_manage" + android:icon="@drawable/ic_menu_manage" + android:title="Tools" /> + </group> + + <item android:title="Communicate"> + <menu> + <item + android:id="@+id/nav_share" + android:icon="@drawable/ic_menu_share" + android:title="Share" /> + <item + android:id="@+id/nav_send" + android:icon="@drawable/ic_menu_send" + android:title="Send" /> + </menu> + </item> + +</menu> diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml new file mode 100644 index 00000000..a2411e31 --- /dev/null +++ b/app/src/main/res/menu/main.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item + android:id="@+id/action_settings" + android:orderInCategory="100" + android:title="@string/action_settings" + app:showAsAction="never" /> +</menu> diff --git a/app/src/main/res/menu/view_image.xml b/app/src/main/res/menu/view_image.xml new file mode 100644 index 00000000..238334e1 --- /dev/null +++ b/app/src/main/res/menu/view_image.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item + android:id="@+id/action_download_view_image" + android:orderInCategory="1" + android:title="@string/action_download" + android:icon="@drawable/ic_file_download_white_24dp" + app:showAsAction="always" /> +</menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/view_video.xml b/app/src/main/res/menu/view_video.xml new file mode 100644 index 00000000..ef64a9dd --- /dev/null +++ b/app/src/main/res/menu/view_video.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item + android:id="@+id/action_download_view_video" + android:orderInCategory="1" + android:title="@string/action_download" + android:icon="@drawable/ic_file_download_white_24dp" + app:showAsAction="always" /> +</menu>
\ No newline at end of file |