aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/decrypt_result_include.xml
blob: 3bc78d32575285b265913aa8fe429cac4c1187e4 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
    android:id="@+id/result"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:paddingTop="4dp"
    android:paddingBottom="4dp"
    android:background="@color/result_purple">

    <View
        android:layout_width="match_parent"
        android:layout_height="1dip"
        android:background="?android:attr/listDivider"
        android:layout_marginTop="4dp" />

    <TextView
        android:id="@+id/result_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:text="result text"
        android:textColor="@color/white"
        android:layout_gravity="center_horizontal"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="8dp" />

    <View
        android:layout_width="match_parent"
        android:layout_height="1dip"
        android:background="?android:attr/listDivider" />

    <RelativeLayout
        android:id="@+id/result_signature"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:clickable="true"
        android:orientation="horizontal"
        android:layout_marginBottom="8dp"
        android:layout_marginTop="8dp">

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/result_signature_image">

            <ImageView
                android:id="@+id/ic_signature"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/signed_large" />

            <ImageView
                android:id="@+id/ic_signature_status"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/overlay_error" />
        </RelativeLayout>

        <TextView
            android:id="@+id/mainUserId"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="4dp"
            android:layout_gravity="left"
            android:text="@string/label_main_user_id"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:layout_toRightOf="@+id/result_signature_image"
            android:textColor="@color/white" />

        <TextView
            android:id="@+id/mainUserIdRest"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="4dp"
            android:layout_gravity="left"
            android:text="Main User Id Rest"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:layout_below="@+id/mainUserId"
            android:layout_toRightOf="@+id/result_signature_image"
            android:textColor="@color/white" />

        <com.beardedhen.androidbootstrap.BootstrapButton
            android:id="@+id/lookup_key"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/btn_lookup_key"
            bootstrapbutton:bb_icon_left="fa-download"
            bootstrapbutton:bb_type="info"
            bootstrapbutton:bb_size="small"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true" />

    </RelativeLayout>

</LinearLayout>