summaryrefslogtreecommitdiff
path: root/remoteExample/src/main/res/layout/fragment_main.xml
blob: 5069780c5edab035eb529a7ad94b24ae1c0b3376 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    tools:context="de.blinkt.openvpn.remote.MainFragment">


        <TextView
            android:id="@+id/status"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignLeft="@+id/helloworld"
            android:layout_alignParentTop="true"
            android:text="No Status yet" />

        <Button
            android:id="@+id/startVPN"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignRight="@+id/helloworld"
            android:layout_below="@+id/helloworld"
            android:text="Not now"
            android:visibility="visible" />

    <TextView
            android:id="@+id/helloworld"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:text="@string/hello_world" />

        <TextView
            android:id="@+id/MyIpText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_above="@+id/helloworld"
            android:layout_alignParentLeft="true"
            android:text="TextView" />

        <Button
            android:id="@+id/getMyIP"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_below="@+id/startVPN"
            android:text="Show my IP" />

        <Button
            android:id="@+id/disconnect"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBottom="@+id/startVPN"
            android:layout_toRightOf="@+id/startVPN"
            android:text="Disconnect" />

        <Button
            android:id="@+id/startembedded"
            style="?android:attr/buttonStyleSmall"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_below="@+id/getMyIP"
            android:text="Start embedded profile" />

</RelativeLayout>