aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml
blob: 57ca9b9d8a90b60868a8c00e71328eecabe2864c (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="48dip"
    android:orientation="horizontal"
    android:gravity="center_vertical">

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

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

        <TextView
            android:id="@android:id/text1"
            android:textColor="?android:attr/textColorTertiary"
            android:textSize="14sp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingLeft="16dip"
            android:singleLine="true"
            android:ellipsize="end"
            android:layout_marginTop="-4dip" />

        <TextView
            android:id="@android:id/text2"
            android:textColor="?android:attr/textColorTertiary"
            android:textSize="14sp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingLeft="16dip"
            android:singleLine="true"
            android:ellipsize="end"
            android:layout_marginTop="-4dip" />
    </LinearLayout>

    <ImageView
        android:id="@android:id/icon"
        android:layout_width="56dip"
        android:layout_height="56dip"
        android:layout_marginLeft="12dip"
        android:cropToPadding="true"
        android:background="#ccc"
        android:scaleType="centerCrop" />
</LinearLayout>