blob: 98cd048fb73dde85c77f481f5efa8f4e72c29b67 (
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
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView id="@+id/usernameLabel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Username:"/>
<EditText id="@+id/username"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/usernameLabel"/>
<TextView id="@+id/hostnameLabel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/username"
android:text="Hostname:"/>
<EditText id="@+id/hostname"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/hostnameLabel"/>
<TextView id="@+id/portLabel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/hostname"
android:text="Port:"/>
<EditText id="@+id/port"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="22"
android:layout_below="@id/portLabel"/>
<Button id="@+id/add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/port"
android:layout_alignParentRight="true"
android:layout_marginLeft="10dip"
android:text="@string/button_add" />
<Button id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeft="@id/add"
android:layout_alignTop="@id/add"
android:text="@string/button_cancel" />
</RelativeLayout>
|