aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/menu/contact_details.xml
blob: b9268e4f9a63fa9577649b265b227c23c9c092ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <item
        android:id="@+id/action_edit_contact"
        android:icon="?attr/icon_edit"
        android:orderInCategory="10"
        app:showAsAction="always"
        android:title="@string/action_edit_contact" />

    <item
        android:id="@+id/action_share"
        android:icon="@drawable/ic_share_white_24dp"
        android:orderInCategory="15"
        app:showAsAction="always"
        android:title="@string/share_uri_with">
        <menu>
            <item
                android:id="@+id/action_share_uri"
                android:title="@string/share_as_uri" />
            <item
                android:id="@+id/action_share_http"
                android:title="@string/share_as_http" />
            <item
                android:id="@+id/action_show_qr_code"
                android:title="@string/show_qr_code" />
        </menu>
    </item>

    <item
        android:id="@+id/action_block"
        android:orderInCategory="72"
        app: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"
        app:showAsAction="always"
        android:icon="@drawable/ic_speaker_notes_white_24dp"
        android:title="@string/action_unblock_contact" />

</menu>