aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/certify_key_item.xml
blob: 297e0944b1b1f24e93a1967c68feeb3886285867 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:orientation="vertical"
    android:singleLine="true">

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  android:id="@+id/user_id_header"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:singleLine="true"
                  android:clickable="true">

        <TextView
            android:id="@+id/user_id_header_id"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="0123 4567 890a bcde"
            android:textAppearance="?android:attr/textAppearanceMedium" />

    </LinearLayout>

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  android:id="@+id/user_id_body"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:minHeight="?android:attr/listPreferredItemHeight"
                  android:orientation="horizontal"
                  android:singleLine="true"
                  android:layout_marginLeft="15dip">

        <CheckBox
            android:id="@+id/user_id_item_check_box"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:clickable="false"
            android:focusable="false" />

        <LinearLayout
            android:orientation="vertical"
            android:layout_gravity="center_vertical"
            android:layout_width="0dip"
            android:layout_marginLeft="8dp"
            android:layout_marginTop="4dp"
            android:layout_marginBottom="4dp"
            android:layout_height="wrap_content"
            android:layout_weight="1">

            <TextView
                android:id="@+id/user_id_item_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="alice@example.com"
                android:textAppearance="?android:attr/textAppearanceMedium" />

            <TextView
                android:id="@+id/user_id_item_addresses"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="alice@example.com\na-lyc@example.com"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:layout_marginLeft="20dip"
                />

        </LinearLayout>
    </LinearLayout>

</LinearLayout>