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
commit67098d1a72fd04e2af06d3a5939cde28c65f70d9 (patch)
tree83503d3bf6b9ead97da848c1cada8604595fad39 /res/menu/photo.xml
parent3fb40bd6f7431e84481d8bccad61299b5f21a2f9 (diff)
downloadandroid_packages_apps_Gallery2-67098d1a72fd04e2af06d3a5939cde28c65f70d9.tar.gz
android_packages_apps_Gallery2-67098d1a72fd04e2af06d3a5939cde28c65f70d9.tar.bz2
android_packages_apps_Gallery2-67098d1a72fd04e2af06d3a5939cde28c65f70d9.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"