summaryrefslogtreecommitdiffstats
path: root/res/menu/photo.xml
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2012-04-05 17:25:43 +0800
committerRay Chen <raychen@google.com>2012-04-23 16:20:15 +0800
commit988b74c4d75c0e117279c4e3e4a86367aee3631c (patch)
treee028f16644efd29ba044fe27d84c6199d2f49c21 /res/menu/photo.xml
parente860f3939442bb53b9bac1187a4005521a01582b (diff)
downloadandroid_packages_apps_Snap-988b74c4d75c0e117279c4e3e4a86367aee3631c.tar.gz
android_packages_apps_Snap-988b74c4d75c0e117279c4e3e4a86367aee3631c.tar.bz2
android_packages_apps_Snap-988b74c4d75c0e117279c4e3e4a86367aee3631c.zip
Fix 6046544 Deleting a photo takes multiple steps and the flow is inconsistent with other deleting flows on other core apps
This CL adds a confirm dialog to delete command and removes all confirm/cancel menu items from the actionbar. b:6046544 Change-Id: I3afe7b59b4f6d1216e192a621621f7bf544e1919
Diffstat (limited to 'res/menu/photo.xml')
-rw-r--r--res/menu/photo.xml8
1 files changed, 1 insertions, 7 deletions
diff --git a/res/menu/photo.xml b/res/menu/photo.xml
index d8e61e0fe..685627a4f 100644
--- a/res/menu/photo.xml
+++ b/res/menu/photo.xml
@@ -30,13 +30,7 @@
android:icon="@drawable/ic_menu_trash_holo_light"
android:title="@string/delete"
android:visible="false"
- android:showAsAction="never">
- <menu>
- <item android:id="@+id/action_confirm_delete"
- android:icon="@drawable/ic_menu_trash_holo_light"
- android:title="@string/confirm_delete" />
- </menu>
- </item>
+ android:showAsAction="never" />
<item android:id="@+id/action_slideshow"
android:icon="@drawable/ic_menu_slideshow_holo_light"
android:title="@string/slideshow"