diff options
| author | Walter Jang <wjang@google.com> | 2015-02-23 12:27:21 -0800 |
|---|---|---|
| committer | Walter Jang <wjang@google.com> | 2015-02-24 09:21:13 -0800 |
| commit | 0e72ce9d97e0133a5f7cc348eef363bef9395979 (patch) | |
| tree | 298d733bbf7645843d6ed6611ec576f6f6a87ccf /res/menu | |
| parent | cc0903be23bd16b7cbbad5502b3d25cc99ade775 (diff) | |
| download | packages_apps_Contacts-0e72ce9d97e0133a5f7cc348eef363bef9395979.tar.gz packages_apps_Contacts-0e72ce9d97e0133a5f7cc348eef363bef9395979.tar.bz2 packages_apps_Contacts-0e72ce9d97e0133a5f7cc348eef363bef9395979.zip | |
Show edit contact photo options is a dialog
* Instead of a ListPopupWindow. This is more consistent with
the behavior of the other edit contact menu options.
* Also add an option menu icon to change the photo to
make this feature more easily accessible and since
users may not realize they can click the photo to
launch the choices dialog.
Bug 19124091
Change-Id: Ia4c37b3093f39d55784323f9a6d7bcf49ee96d16
Diffstat (limited to 'res/menu')
| -rw-r--r-- | res/menu/edit_contact.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/res/menu/edit_contact.xml b/res/menu/edit_contact.xml index fe6d2b9c4..be1572068 100644 --- a/res/menu/edit_contact.xml +++ b/res/menu/edit_contact.xml @@ -37,6 +37,15 @@ android:id="@+id/menu_delete" android:title="@string/menu_deleteContact" /> + <!-- The compact contact editor will set this to visible but we don't want it + in the fully expanded contact editor. --> + <item + android:id="@+id/menu_change_photo" + android:title="@string/menu_change_photo" + android:icon="@drawable/ic_photo_camera_white_24dp" + android:showAsAction="always" + android:visible="false" /> + <item android:id="@+id/menu_set_ringtone" android:title="@string/menu_set_ring_tone" /> |
