diff options
author | Evan Millar <emillar@google.com> | 2011-10-03 11:31:19 -0700 |
---|---|---|
committer | Evan Millar <emillar@google.com> | 2011-10-03 11:37:04 -0700 |
commit | 486c2ee153d7dad30d80e17fc8c2dd5133b86fb2 (patch) | |
tree | 2967f20bb3de5e455bd88c6d9e925f0980821f59 /res/menu/photo.xml | |
parent | ae70ae473dcd674d61c9e6a79afcf57f825f7302 (diff) | |
download | android_packages_apps_Gallery2-486c2ee153d7dad30d80e17fc8c2dd5133b86fb2.tar.gz android_packages_apps_Gallery2-486c2ee153d7dad30d80e17fc8c2dd5133b86fb2.tar.bz2 android_packages_apps_Gallery2-486c2ee153d7dad30d80e17fc8c2dd5133b86fb2.zip |
Get rid of "flashies" in the action bar.
-Filter out short spinner events. All spinner events that last <1sec are
now ignored. We also enforce a minimum delay time of 2 sec.
-Mark the share and delete menu items as visible="false" by default to
get rid of the quick display/removal of them under scenarios where they
are ultimately removed.
bug:5398336
Change-Id: I0620532f3ab59d9fde46123620eb781a87445b54
Diffstat (limited to 'res/menu/photo.xml')
-rw-r--r-- | res/menu/photo.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/menu/photo.xml b/res/menu/photo.xml index 7ba03b7fc..2349fabf1 100644 --- a/res/menu/photo.xml +++ b/res/menu/photo.xml @@ -24,10 +24,12 @@ android:title="@string/share" android:enabled="true" android:actionProviderClass="android.widget.ShareActionProvider" + android:visible="false" android:showAsAction="ifRoom" /> <item android:id="@+id/action_delete" android:icon="@drawable/ic_menu_trash_holo_light" android:title="@string/delete" + android:visible="false" android:showAsAction="ifRoom"> <menu> <item android:id="@+id/action_confirm_delete" |