diff options
author | Walter Jang <wjang@google.com> | 2015-06-19 14:15:08 -0700 |
---|---|---|
committer | Walter Jang <wjang@google.com> | 2015-06-19 15:09:44 -0700 |
commit | c90cc15b804fb00339a3b98e5c951549f9b03599 (patch) | |
tree | 742dc53c99d713f71c5ce4ef2c3bc9943f63167a /res/menu | |
parent | fa127a1c0ca95139664771edc3d5d97331c93b19 (diff) | |
download | packages_apps_Contacts-c90cc15b804fb00339a3b98e5c951549f9b03599.tar.gz packages_apps_Contacts-c90cc15b804fb00339a3b98e5c951549f9b03599.tar.bz2 packages_apps_Contacts-c90cc15b804fb00339a3b98e5c951549f9b03599.zip |
Make saving a contact less confusing
* Add always visible save menu item (a checkmark icon) on both
the compact and full editors. Selecting it saves changes
and closes the editor (what back does currently).
* On the compact editor, make back perform a discard,
including warning the user if there are unsaved changes.
* On the full editor, back still saves and goes back to
the full editor. This is not ideal but it's out of
scope to not save changes between the two editors
when editing an existing contact.
Bug 19983789
Change-Id: Ie23b75978db70f2b438a824e39f0ae8fb8aa99ec
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/edit_contact.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/res/menu/edit_contact.xml b/res/menu/edit_contact.xml index fe6d2b9c4..2ff5f8149 100644 --- a/res/menu/edit_contact.xml +++ b/res/menu/edit_contact.xml @@ -16,9 +16,10 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item - android:id="@+id/menu_done" - android:alphabeticShortcut="\n" - android:showAsAction="always" /> + android:id="@+id/menu_save" + android:showAsAction="always" + android:icon="@drawable/ic_done_wht_24dp" + android:title="@string/menu_save" /> <item android:id="@+id/menu_split" |