From 988b74c4d75c0e117279c4e3e4a86367aee3631c Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Thu, 5 Apr 2012 17:25:43 +0800 Subject: 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 --- res/menu-land/photo.xml | 11 +---------- res/menu/operation.xml | 8 +------- res/menu/photo.xml | 8 +------- res/values/strings.xml | 3 ++- 4 files changed, 5 insertions(+), 25 deletions(-) diff --git a/res/menu-land/photo.xml b/res/menu-land/photo.xml index 023a93bed..21f802a25 100644 --- a/res/menu-land/photo.xml +++ b/res/menu-land/photo.xml @@ -30,16 +30,7 @@ android:icon="@drawable/ic_menu_trash_holo_light" android:title="@string/delete" android:visible="false" - android:showAsAction="ifRoom"> - - - - - + android:showAsAction="ifRoom" /> - - - - + android:showAsAction="ifRoom" /> - - - - + android:showAsAction="never" /> Delete - Delete + Confirm deletion? + Confirm Cancel Share -- cgit v1.2.3