summaryrefslogtreecommitdiff
path: root/main/src/ui/res/layout/tlsremote.xml
blob: a03b735746d6c531cbc0cabcdb2427d13e28baa9 (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
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (c) 2012-2016 Arne Schwabe
  ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
  -->

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:padding="@dimen/stdpadding"
    android:theme="@style/Theme.AppCompat.DayNight.Dialog.Alert">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <TextView
            android:id="@+id/dialogHeader"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/enter_tlscn_dialog" />

        <TextView
            android:id="@+id/tlsremotenote"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="8sp"
            android:text="@string/remotetlsnote"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:visibility="gone" />

        <Spinner
            android:id="@+id/x509verifytype"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

        <EditText
            android:id="@+id/tlsremotecn"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            android:ems="10"
            android:inputType="text">

            <requestFocus />
        </EditText>

    </LinearLayout>

</ScrollView>