summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/res/menu
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-06-30 20:02:59 -0700
committerJeff Sharkey <jsharkey@android.com>2013-07-01 15:31:44 -0700
commit54e55b740fef1be654c3959aee41ef5ddfa61293 (patch)
tree0be97d0f5e6043bd38be60a0d99e5dd2402648c8 /packages/DocumentsUI/res/menu
parenta6471e88349a23ba7ff954536583f395348bdf8b (diff)
downloadframeworks_base-54e55b740fef1be654c3959aee41ef5ddfa61293.zip
frameworks_base-54e55b740fef1be654c3959aee41ef5ddfa61293.tar.gz
frameworks_base-54e55b740fef1be654c3959aee41ef5ddfa61293.tar.bz2
Iterate on storage UI.
Support both grid and list view of documents. Show breadcrumb navigation trail in action bar. Start supporting file and directory creation. Change-Id: I93a973da7b0d4387a57fe719e7bb20944adb0290
Diffstat (limited to 'packages/DocumentsUI/res/menu')
-rw-r--r--packages/DocumentsUI/res/menu/activity.xml22
-rw-r--r--packages/DocumentsUI/res/menu/directory.xml30
2 files changed, 52 insertions, 0 deletions
diff --git a/packages/DocumentsUI/res/menu/activity.xml b/packages/DocumentsUI/res/menu/activity.xml
new file mode 100644
index 0000000..c675fb8
--- /dev/null
+++ b/packages/DocumentsUI/res/menu/activity.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/menu_create_dir"
+ android:title="@string/menu_create_dir"
+ android:icon="@drawable/ic_menu_create_dir" />
+</menu>
diff --git a/packages/DocumentsUI/res/menu/directory.xml b/packages/DocumentsUI/res/menu/directory.xml
new file mode 100644
index 0000000..52c8f5c
--- /dev/null
+++ b/packages/DocumentsUI/res/menu/directory.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/menu_grid"
+ android:title="@string/menu_grid"
+ android:icon="@drawable/ic_menu_grid" />
+ <item
+ android:id="@+id/menu_list"
+ android:title="@string/menu_list"
+ android:icon="@drawable/ic_menu_list" />
+ <item
+ android:id="@+id/menu_sort"
+ android:title="@string/menu_sort"
+ android:icon="@drawable/ic_menu_sort" />
+</menu>