diff options
author | Jin Cao <jinyan@google.com> | 2014-05-30 15:54:04 -0700 |
---|---|---|
committer | Jin Cao <jinyan@google.com> | 2014-08-01 17:15:12 -0700 |
commit | 512821c11d89d49908f3cfdee0b582601f500f3d (patch) | |
tree | 3617c8eb27d4758232ab1a7b097ca8fdfd51588d /res/menu-sw600dp-land | |
parent | 3df312385775e959ba7068d315035566cf605028 (diff) | |
download | android_packages_apps_UnifiedEmail-512821c11d89d49908f3cfdee0b582601f500f3d.tar.gz android_packages_apps_UnifiedEmail-512821c11d89d49908f3cfdee0b582601f500f3d.tar.bz2 android_packages_apps_UnifiedEmail-512821c11d89d49908f3cfdee0b582601f500f3d.zip |
Support "deleting" in outbox
- Allow only failed items in Outbox to be swiped away/deleted.
- Same applies for multi-selection.
- "Deleting" in Outbox means remove the outbox label from the
failed message and applying the drafts label. This needs to
be implemented by both Gmail and Email providers.
- Added new ConversationOperation for this new action.
b/4080109
Change-Id: Ia9c8e386c7c65693f72fda85a49cb6a1b7d1fec1
Diffstat (limited to 'res/menu-sw600dp-land')
-rw-r--r-- | res/menu-sw600dp-land/conversation_actions.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/menu-sw600dp-land/conversation_actions.xml b/res/menu-sw600dp-land/conversation_actions.xml index 31e6e89f2..92f4bce24 100644 --- a/res/menu-sw600dp-land/conversation_actions.xml +++ b/res/menu-sw600dp-land/conversation_actions.xml @@ -50,6 +50,13 @@ android:showAsAction="always" android:icon="@drawable/ic_delete_wht_24dp" android:visible="false" /> + <!-- Depends on the user viewing a outbox label and the setting supports delete --> + <item + android:id="@+id/discard_outbox" + android:title="@string/discard_failed" + android:showAsAction="always" + android:icon="@drawable/ic_delete_wht_24dp" + android:visible="false" /> <item android:id="@+id/inside_conversation_unread" |