aboutsummaryrefslogtreecommitdiffstats
path: root/libs/MemorizingTrustManager/example/res/layout/mtmexample.xml
blob: 4a08b689936f6340de3de0e0e1901da5fbd9d4ea (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <EditText
        android:id="@+id/url"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:hint="HTTPS address"
        android:text="https://op-co.de/mtm/"
        android:singleLine="true" />

    <Button
        android:id="@+id/connect"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="Connect" />

    <TextView
        android:id="@+id/content"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="Please enter a HTTPS URL and press 'Connect'!"
        android:textSize="11pt" />

    <Button
        android:id="@+id/manage"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="Clean up Certificates"
        android:onClick="onManage" />
</LinearLayout>