summaryrefslogtreecommitdiffstats
path: root/res/menu/photo.xml
diff options
context:
space:
mode:
authorEvan Millar <emillar@google.com>2011-10-03 11:31:19 -0700
committerEvan Millar <emillar@google.com>2011-10-03 11:37:04 -0700
commit78b8b3777168d1c19e845794e560ff31d7e7eb24 (patch)
tree536428c5b321fc74243f9a1ca6799aff334bae29 /res/menu/photo.xml
parent6b66d707c43c5657e90cc72a86e2fb20238632f1 (diff)
downloadandroid_packages_apps_Snap-78b8b3777168d1c19e845794e560ff31d7e7eb24.tar.gz
android_packages_apps_Snap-78b8b3777168d1c19e845794e560ff31d7e7eb24.tar.bz2
android_packages_apps_Snap-78b8b3777168d1c19e845794e560ff31d7e7eb24.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.xml2
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"