1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ android : id =" @+id/create_virtual_host"
4
+ android : layout_width =" fill_parent"
5
+ android : layout_height =" fill_parent"
6
+ android : background =" #fff2f2f2"
7
+ android : orientation =" vertical" >
8
+
9
+ <LinearLayout
10
+ android : layout_width =" fill_parent"
11
+ android : layout_height =" 0.0dip"
12
+ android : layout_marginLeft =" 15.0dip"
13
+ android : layout_marginRight =" 15.0dip"
14
+ android : layout_marginTop =" 10.0dip"
15
+ android : layout_weight =" 4.0"
16
+ android : orientation =" vertical" >
17
+
18
+ <TextView
19
+ android : layout_width =" fill_parent"
20
+ android : layout_height =" wrap_content"
21
+ android : layout_marginTop =" 5.0dip"
22
+ android : gravity =" right"
23
+ android : textColor =" #ff808080" />
24
+
25
+ <EditText
26
+ android : id =" @+id/host_name"
27
+ android : layout_width =" fill_parent"
28
+ android : layout_height =" wrap_content"
29
+ android : background =" @drawable/et_bg"
30
+ android : hint =" Enter host name"
31
+ android : minHeight =" 35.0dip"
32
+ android : paddingLeft =" 5.0dip"
33
+ android : singleLine =" true" />
34
+
35
+
36
+ <TextView
37
+ android : layout_width =" fill_parent"
38
+ android : layout_height =" wrap_content"
39
+ android : layout_marginTop =" 5.0dip"
40
+ android : gravity =" right"
41
+ android : textColor =" #ff808080" />
42
+
43
+ <EditText
44
+ android : id =" @+id/host_port"
45
+ android : layout_width =" fill_parent"
46
+ android : layout_height =" wrap_content"
47
+ android : background =" @drawable/et_bg"
48
+ android : hint =" Enter server port"
49
+ android : minHeight =" 35.0dip"
50
+ android : paddingLeft =" 5.0dip"
51
+ android : singleLine =" true" />
52
+
53
+
54
+ <TextView
55
+ android : layout_width =" fill_parent"
56
+ android : layout_height =" wrap_content"
57
+ android : layout_marginTop =" 5.0dip"
58
+ android : gravity =" right"
59
+ android : textColor =" #ff808080" />
60
+
61
+ <EditText
62
+ android : id =" @+id/host_location"
63
+ android : layout_width =" fill_parent"
64
+ android : layout_height =" wrap_content"
65
+ android : background =" @drawable/et_bg"
66
+ android : hint =" Enter host path"
67
+ android : minHeight =" 35.0dip"
68
+ android : paddingLeft =" 5.0dip"
69
+ android : singleLine =" true" />
70
+
71
+
72
+ <TextView
73
+ android : layout_width =" fill_parent"
74
+ android : layout_height =" wrap_content"
75
+ android : layout_marginTop =" 5.0dip"
76
+ android : gravity =" right"
77
+ android : textColor =" #ff808080" />
78
+
79
+ <Button
80
+ android : id =" @+id/btn_create_host"
81
+ android : layout_width =" fill_parent"
82
+ android : layout_height =" wrap_content"
83
+ android : layout_margin =" 5.0dip"
84
+ android : background =" @drawable/btn_selector"
85
+ android : text =" Create Host"
86
+ android : textColor =" #ffffffff" />
87
+
88
+ </LinearLayout >
89
+ </LinearLayout >
0 commit comments