aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/add_keyserver_dialog.xml
blob: b83681537a8d82c99b4b08efc5d4bbe8e2bfdbd2 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingBottom="16dp"
    android:paddingLeft="24dp"
    android:paddingRight="24dp"
    android:paddingTop="16dp">

    <android.support.design.widget.TextInputLayout
        android:id="@+id/keyserver_url_edit_text_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="8dp">

        <EditText
            android:id="@+id/keyserver_url_edit_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:ems="10"
            android:hint="@string/label_enter_keyserver_url"
            android:imeOptions="actionDone"
            android:inputType="textUri" />

    </android.support.design.widget.TextInputLayout>


    <CheckBox
        android:id="@+id/verify_connection_checkbox"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:checked="true"
        android:text="@string/label_verify_keyserver_connection" />

    <CheckBox
        android:id="@+id/only_trusted_keyserver_checkbox"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:checked="true"
        android:text="@string/label_only_trusted_keyserver" />

</LinearLayout>