11 > |
11 > |
12 <TextView |
12 <TextView |
13 android:layout_width="wrap_content" |
13 android:layout_width="wrap_content" |
14 android:layout_height="wrap_content" |
14 android:layout_height="wrap_content" |
15 android:text="Host/Port:" |
15 android:text="Host/Port:" |
16 android:minWidth="70dp" |
16 android:minWidth="90dp" |
17 /> |
17 /> |
18 |
18 |
19 <EditText android:id="@+id/host" |
19 <EditText android:id="@+id/host" |
20 android:layout_width="wrap_content" |
20 android:layout_width="fill_parent" |
21 android:layout_height="wrap_content" |
21 android:layout_height="wrap_content" |
22 android:singleLine="true" |
22 android:singleLine="true" |
23 android:textSize="16sp" |
23 android:textSize="16sp" |
24 android:autoText="false" |
24 android:autoText="false" |
25 android:capitalize="none" |
25 android:capitalize="none" |
26 android:minWidth="150dp" |
26 android:layout_weight="2" |
27 android:scrollHorizontally="true"/> |
27 android:scrollHorizontally="true"/> |
28 <EditText android:id="@+id/port" |
28 <EditText android:id="@+id/port" |
29 android:layout_width="wrap_content" |
29 android:layout_width="fill_parent" |
30 android:layout_height="wrap_content" |
30 android:layout_height="wrap_content" |
31 android:singleLine="true" |
31 android:singleLine="true" |
32 android:textSize="16sp" |
32 android:textSize="16sp" |
33 android:autoText="false" |
33 android:autoText="false" |
34 android:minWidth="80dp" |
|
35 android:capitalize="none" |
34 android:capitalize="none" |
|
35 android:layout_weight="3" |
36 android:scrollHorizontally="true"/> |
36 android:scrollHorizontally="true"/> |
37 </LinearLayout> |
37 </LinearLayout> |
38 |
38 |
39 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
39 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
40 android:orientation="horizontal" |
40 android:orientation="horizontal" |
43 > |
43 > |
44 <TextView |
44 <TextView |
45 android:layout_width="wrap_content" |
45 android:layout_width="wrap_content" |
46 android:layout_height="wrap_content" |
46 android:layout_height="wrap_content" |
47 android:text="Userid:" |
47 android:text="Userid:" |
48 android:minWidth="70dp" |
48 android:minWidth="90dp" |
49 /> |
49 /> |
50 <EditText android:id="@+id/userid" |
50 <EditText android:id="@+id/userid" |
51 android:layout_width="wrap_content" |
51 android:layout_width="fill_parent" |
52 android:layout_height="wrap_content" |
52 android:layout_height="wrap_content" |
53 android:singleLine="true" |
53 android:singleLine="true" |
54 android:textSize="16sp" |
54 android:textSize="16sp" |
55 android:autoText="false" |
55 android:autoText="false" |
56 android:minWidth="250dp" |
|
57 android:capitalize="none" |
56 android:capitalize="none" |
58 android:scrollHorizontally="true"/> |
57 android:scrollHorizontally="true"/> |
59 </LinearLayout> |
58 </LinearLayout> |
60 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
59 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
61 android:orientation="horizontal" |
60 android:orientation="horizontal" |
64 > |
63 > |
65 <TextView |
64 <TextView |
66 android:layout_width="wrap_content" |
65 android:layout_width="wrap_content" |
67 android:layout_height="wrap_content" |
66 android:layout_height="wrap_content" |
68 android:text="Password:" |
67 android:text="Password:" |
69 android:minWidth="70dp" |
68 android:minWidth="90dp" |
70 /> |
69 /> |
71 <EditText android:id="@+id/password" |
70 <EditText android:id="@+id/password" |
72 android:layout_width="wrap_content" |
71 android:layout_width="fill_parent" |
73 android:layout_height="wrap_content" |
72 android:layout_height="wrap_content" |
74 android:singleLine="true" |
73 android:singleLine="true" |
75 android:password="true" |
74 android:password="true" |
76 android:textSize="16sp" |
75 android:textSize="16sp" |
77 android:autoText="false" |
76 android:autoText="false" |
78 android:minWidth="250dp" |
|
79 android:capitalize="none" |
77 android:capitalize="none" |
80 android:scrollHorizontally="true"/> |
78 android:scrollHorizontally="true"/> |
81 </LinearLayout> |
79 </LinearLayout> |
82 |
80 |
83 <Button android:id="@+id/ok" |
81 <Button android:id="@+id/ok" |
84 android:layout_width="fill_parent" |
82 android:layout_width="wrap_content" |
85 android:layout_height="wrap_content" |
83 android:layout_height="wrap_content" |
|
84 android:layout_gravity="center_horizontal" |
86 android:text="OK"> |
85 android:text="OK"> |
87 <requestFocus/> |
86 <requestFocus/> |
88 </Button> |
87 </Button> |
89 </LinearLayout> |
88 </LinearLayout> |