summaryrefslogtreecommitdiff
path: root/res/layout/tlsremote.xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-03-08 14:12:04 +0100
committerArne Schwabe <arne@rfc2549.org>2013-03-08 14:12:04 +0100
commit2dc46e64c7ce808e2d052a4f78cc724cfb54535a (patch)
treec8a5407ee2d1f71287ac76ad02ad52924fd4b692 /res/layout/tlsremote.xml
parentb38cae44de5aed8d436c19301c4fb4a390128569 (diff)
Enhance/fix --verify-x509-name support
Diffstat (limited to 'res/layout/tlsremote.xml')
-rw-r--r--res/layout/tlsremote.xml64
1 files changed, 35 insertions, 29 deletions
diff --git a/res/layout/tlsremote.xml b/res/layout/tlsremote.xml
index 3c16566a..e93b9364 100644
--- a/res/layout/tlsremote.xml
+++ b/res/layout/tlsremote.xml
@@ -1,38 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
- <TextView
- android:id="@+id/dialogHeader"
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:text="@string/enter_tlscn_dialog" />
+ android:orientation="vertical" >
- <Spinner
- android:id="@+id/x509verifytype"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/dialogHeader"
- android:layout_toRightOf="@+id/textView1" />
+ <TextView
+ android:id="@+id/dialogHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/enter_tlscn_dialog" />
- <EditText
- android:id="@+id/tlsremotecn"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_below="@id/x509verifytype"
- android:layout_marginTop="20dp"
- android:ems="10"
- android:inputType="text" />
-
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_below="@+id/textView1"
- android:textAppearance="?android:attr/textAppearanceSmall" />
+ <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>
-</RelativeLayout> \ No newline at end of file
+</ScrollView> \ No newline at end of file