diff options
author | Brian Attwell <brianattwell@google.com> | 2014-06-05 15:33:06 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-06-11 14:35:56 -0700 |
commit | a513f720d2a15be6a00894c9a2812355d0643fcf (patch) | |
tree | 978e9d5f982e8833015988a5d4e3819953a38d9c /res | |
parent | 31b2d42fb0889e61515d27314aa5a245147100da (diff) | |
download | packages_apps_Contacts-a513f720d2a15be6a00894c9a2812355d0643fcf.tar.gz packages_apps_Contacts-a513f720d2a15be6a00894c9a2812355d0643fcf.tar.bz2 packages_apps_Contacts-a513f720d2a15be6a00894c9a2812355d0643fcf.zip |
Add delete button to Edit View
When a contact is deleted, QuickContacts is told by LoaderCallbacks
that it shouldn't be visible prior to onResume().
Change-Id: I5f9c84cbfefddca3722bd1de3c5a98760547ef0a
Diffstat (limited to 'res')
-rw-r--r-- | res/menu/edit_contact.xml | 4 | ||||
-rw-r--r-- | res/values/strings.xml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/res/menu/edit_contact.xml b/res/menu/edit_contact.xml index 58e13cb6d..fe6d2b9c4 100644 --- a/res/menu/edit_contact.xml +++ b/res/menu/edit_contact.xml @@ -34,6 +34,10 @@ android:title="@string/menu_discard" /> <item + android:id="@+id/menu_delete" + android:title="@string/menu_deleteContact" /> + + <item android:id="@+id/menu_set_ringtone" android:title="@string/menu_set_ring_tone" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 127d93beb..06e52cfb7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -168,8 +168,8 @@ <!-- Confirmation dialog contents after users selects to delete a Writable contact. --> <string name="deleteConfirmation">This contact will be deleted.</string> - <!-- Menu item to indicate you want to stop editing a contact and NOT save the changes you've made [CHAR LIMIT=12] --> - <string name="menu_discard">Discard</string> + <!-- Menu item to indicate you want to stop editing a contact and NOT save the changes you've made [CHAR LIMIT=30] --> + <string name="menu_discard">Discard changes</string> <!-- Message displayed in a toast when you try to view the details of a contact that for some reason doesn't exist anymore. [CHAR LIMIT=NONE]--> |