aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/linked_id_item.xml
blob: e4fe585517706dad3ade6ec5bf7289d6abcc1f69 (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
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:orientation="horizontal"
    android:singleLine="true"
    android:background="#ffffff"
    tools:showIn="@layout/linked_id_view_fragment">

    <ImageView
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:id="@+id/linked_id_type_icon"
        android:layout_marginLeft="14dp"
        android:layout_marginStart="14dp"
        tools:src="@drawable/linked_dns"
        android:layout_gravity="center_vertical"
        android:scaleType="fitCenter" />

    <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/linked_id_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text="Title"
            android:textAppearance="?android:attr/textAppearanceMedium"
            />

        <TextView
            android:id="@+id/linked_id_comment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            tools:text="comment"
            android:textAppearance="?android:attr/textAppearanceSmall"
            />

    </LinearLayout>

    <ViewAnimator
        android:id="@+id/linked_id_certified"
        android:layout_width="22dp"
        android:layout_height="wrap_content"
        android:layout_marginLeft="16dp"
        android:layout_marginRight="16dp"
        android:outAnimation="@anim/fade_out_down"
        android:inAnimation="@anim/fade_in_up"
        android:layout_gravity="center_vertical"
        android:orientation="vertical">

        <ImageView
            android:id="@+id/linked_id_certified_icon"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            tools:src="@drawable/status_signature_unknown_cutout_24dp"
            />

        <Space
            android:layout_height="wrap_content"
            android:layout_width="wrap_content" />

    </ViewAnimator>

</LinearLayout>