Lots of fresh code! You have been warned!!! Do pls report trouble!
[android6bed4] / res / layout / user_interface.xml
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:orientation="vertical" >
6
7     <TextView
8         android:paddingTop="25sp"
9         xmlns:tools="http://schemas.android.com/tools"
10         android:id="@+id/textView1"
11         android:layout_width="wrap_content"
12         android:layout_height="wrap_content"
13         android:text="@string/tunserver_address"
14         tools:context=".Android6bed4" />
15
16     <EditText
17         android:id="@+id/tunserver_ip_string"
18         android:layout_width="match_parent"
19         android:layout_height="wrap_content"
20         android:inputType="phone"
21         android:hint="@string/tunserver_address_hint" />
22     
23     <TextView
24         android:paddingTop="25sp"
25         xmlns:tools="http://schemas.android.com/tools"
26         android:id="@+id/textView2"
27         android:layout_width="wrap_content"
28         android:layout_height="wrap_content"
29         android:text="@string/tunclient_port"
30         tools:context=".Android6bed4" />
31
32     <EditText
33         android:id="@+id/tunclient_port_number"
34         android:layout_width="match_parent"
35         android:layout_height="wrap_content"
36         android:hint="@string/tunclient_port_hint"
37         android:inputType="number" />
38     
39     <Switch
40         android:paddingTop="25sp"
41         android:id="@+id/overtake_default_route"
42         android:layout_width="match_parent"
43         android:layout_height="wrap_content"
44         android:onClick="onDefaultRouteClick"
45         android:text="@string/overtake_default_route_text" />
46
47     <Switch
48         android:paddingTop="25sp"
49         android:id="@+id/persist_accross_reboots"
50         android:layout_width="match_parent"
51         android:layout_height="wrap_content"
52         android:onClick="onPersistClick"
53         android:text="@string/persist_accross_reboots_text" />
54     
55     <Switch
56         android:id="@+id/enable_6bed4"
57         android:layout_width="match_parent"
58         android:layout_height="wrap_content"
59         android:onClick="onEnablerClick"
60         android:paddingTop="25sp"
61         android:text="@string/enable_button_text" />
62
63 </LinearLayout>