aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/select_key_item.xml
blob: aff0a821536938139e2efc3f6be179336bc78db0 (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
<?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:paddingLeft="4dp"
    android:paddingRight="?android:attr/scrollbarSize"
    android:singleLine="true">

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

    <LinearLayout
        android:layout_width="0dip"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical"
        android:paddingLeft="5dip"
        android:layout_gravity="center_vertical">

        <TextView
            android:id="@+id/select_key_item_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Alice"
            android:textAppearance="?android:attr/textAppearanceMedium" />

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

        <TextView
            android:id="@+id/select_key_item_creation"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="0xBBBBBBBBBBBBBBB"
            android:textAppearance="?android:attr/textAppearanceSmall" />
    </LinearLayout>

    <ImageView
        android:id="@+id/select_key_item_status_icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:src="@drawable/status_signature_revoked_cutout_24dp"
        android:paddingLeft="16dp"
        android:paddingRight="16dp" />

</LinearLayout>