aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/settings_keyserver_item.xml
blob: 338104bda3a4acf7a29782859a613a6b9a96d3f9 (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/outer_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="?listPreferredItemHeight">

    <LinearLayout
        android:id="@+id/keyserver_layout"
        android:padding="6sp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_toLeftOf="@+id/drag_handle"
        android:orientation="vertical">

        <TextView
            android:id="@+id/selected_keyserver_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/label_selected_keyserver_title"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textStyle="bold"
            android:visibility="gone"/>

        <TextView
            android:id="@+id/keyserver_tv"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceMedium" />
    </LinearLayout>

    <ImageView
        android:id="@+id/drag_handle"
        android:layout_width="?listPreferredItemHeight"
        android:layout_height="?listPreferredItemHeight"
        android:scaleType="center"
        android:layout_centerVertical="true"
        android:layout_alignParentRight="true"
        android:src="@drawable/ic_reorder_grey_500_24dp" />

    <View
        android:layout_alignParentBottom="true"
        style="@style/Divider"/>

</RelativeLayout>