diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-05-14 22:17:08 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-05-14 22:17:08 +0200 |
commit | 4fe4ec114bcb578ab9a4e985d16961d79bb74a23 (patch) | |
tree | 21a36037c0e8bafa53c2880a4e934fed5e2dc3a8 /src/main/res/menu | |
parent | d9fb1316cc33b2640be2f1f2f4bec9e4a1738553 (diff) |
add share contact to ContactDetails
Diffstat (limited to '')
-rw-r--r-- | src/main/res/menu/contact_details.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/main/res/menu/contact_details.xml b/src/main/res/menu/contact_details.xml index 43ccc7927..7879eaea1 100644 --- a/src/main/res/menu/contact_details.xml +++ b/src/main/res/menu/contact_details.xml @@ -7,11 +7,19 @@ android:orderInCategory="10" android:showAsAction="always" android:title="@string/action_edit_contact"/> + + <item + android:id="@+id/action_share" + android:icon="?attr/icon_share" + android:showAsAction="always" + android:orderInCategory="10" + android:title="@string/share_uri_with"/> + <item android:id="@+id/action_delete_contact" android:icon="?attr/icon_discard" android:orderInCategory="10" - android:showAsAction="always" + android:showAsAction="never" android:title="@string/action_delete_contact"/> <item android:id="@+id/action_show_qr_code" @@ -21,13 +29,15 @@ <item android:id="@+id/action_block" android:orderInCategory="72" - android:showAsAction="never" + android:showAsAction="always" + android:icon="@drawable/ic_speaker_notes_off_white_24dp" android:title="@string/action_block_contact"/> <item android:id="@+id/action_unblock" android:orderInCategory="73" - android:showAsAction="never" + android:showAsAction="always" + android:icon="@drawable/ic_speaker_notes_white_24dp" android:title="@string/action_unblock_contact"/> </menu>
\ No newline at end of file |