summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/res/menu/activity.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-08-06 16:26:14 -0700
committerJeff Sharkey <jsharkey@android.com>2013-08-06 18:16:21 -0700
commitb156f4bf8cdfe475a7116b627d84a281e1a281b7 (patch)
tree537c95d8bcf776de593e5dd9ed02f62445ca7147 /packages/DocumentsUI/res/menu/activity.xml
parent66516697a29cf00d93893a1011d3befc7c1ee37f (diff)
downloadframeworks_base-b156f4bf8cdfe475a7116b627d84a281e1a281b7.zip
frameworks_base-b156f4bf8cdfe475a7116b627d84a281e1a281b7.tar.gz
frameworks_base-b156f4bf8cdfe475a7116b627d84a281e1a281b7.tar.bz2
Recents in create, uniform item layouts.
Show recent directories in a separate fragment, and save as serialized versions of new DirectoryStack. Cleaner behavior around recents and search, instead of treating them as pseudo-Documents. More uniform item layouts between list and grid, including both date and size information, and originating storage root in recents. Avoid clashing directory loaders by assigning unique numbers. Promote list/grid switching up into activity. Change-Id: I9a93460b896067ca036d7e772eeabde31face2e1
Diffstat (limited to 'packages/DocumentsUI/res/menu/activity.xml')
-rw-r--r--packages/DocumentsUI/res/menu/activity.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/DocumentsUI/res/menu/activity.xml b/packages/DocumentsUI/res/menu/activity.xml
index a0d03b2..d57f88a 100644
--- a/packages/DocumentsUI/res/menu/activity.xml
+++ b/packages/DocumentsUI/res/menu/activity.xml
@@ -27,4 +27,14 @@
android:showAsAction="always|collapseActionView"
android:actionViewClass="android.widget.SearchView"
android:imeOptions="actionSearch" />
+ <item
+ android:id="@+id/menu_grid"
+ android:title="@string/menu_grid"
+ android:icon="@drawable/ic_menu_grid"
+ android:showAsAction="ifRoom" />
+ <item
+ android:id="@+id/menu_list"
+ android:title="@string/menu_list"
+ android:icon="@drawable/ic_menu_list"
+ android:showAsAction="ifRoom" />
</menu>