aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/keyspinner_item.xml
blob: c519a92cc0857fb5dc7a4fb8188ecbb7d375a3e0 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="wrap_content"
    android:padding="4dp"
    android:minHeight="24dp"
    android:layout_height="wrap_content">

    <TextView
        android:id="@+id/keyspinner_key_name"
        android:textColor="?android:attr/textColorSecondary"
        android:textSize="18sp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:ellipsize="end" />

    <TextView
        android:id="@+id/keyspinner_key_email"
        android:textColor="?android:attr/textColorTertiary"
        android:textSize="14sp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:ellipsize="end"
        android:layout_marginTop="-4dip"
        android:text="alice@example.com" />

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  android:orientation="horizontal"
                  android:layout_width="match_parent"
                  android:padding="4dp"
                  android:minHeight="24dp"
                  android:layout_height="wrap_content"
                  android:id="@+id/keyspinner_key_row">

        <TextView
            android:id="@+id/keyspinner_key_id"
            android:textColor="?android:attr/textColorTertiary"
            android:textSize="14sp"
            android:layout_width="0dip"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:ellipsize="end"
            android:typeface="monospace"
            android:layout_marginTop="-4dip"
            android:layout_weight="1"/>

        <TextView
            android:id="@+id/keyspinner_key_status"
            android:textColor="#e00"
            android:textSize="12sp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:ellipsize="end"
            android:layout_gravity="right"
            android:text="status"
            android:visibility="gone"/>

    </LinearLayout>

</LinearLayout>