1 <?xml version="1.0" encoding="utf-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 android:orientation="vertical" |
3 android:orientation="vertical" android:layout_width="fill_parent" |
4 android:layout_width="fill_parent" |
4 android:layout_height="fill_parent"> |
5 android:layout_height="fill_parent" |
|
6 > |
|
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
8 android:orientation="horizontal" |
|
9 android:layout_width="fill_parent" |
|
10 android:layout_height="wrap_content" |
|
11 > |
|
12 <TextView |
|
13 android:layout_width="wrap_content" |
|
14 android:layout_height="wrap_content" |
|
15 android:text="Host/Port:" |
|
16 android:minWidth="90dp" |
|
17 /> |
|
18 |
|
19 <EditText android:id="@+id/host" |
|
20 android:layout_width="fill_parent" |
|
21 android:layout_height="wrap_content" |
|
22 android:singleLine="true" |
|
23 android:textSize="16sp" |
|
24 android:autoText="false" |
|
25 android:capitalize="none" |
|
26 android:layout_weight="2" |
|
27 android:scrollHorizontally="true"/> |
|
28 <EditText android:id="@+id/port" |
|
29 android:layout_width="fill_parent" |
|
30 android:layout_height="wrap_content" |
|
31 android:singleLine="true" |
|
32 android:textSize="16sp" |
|
33 android:autoText="false" |
|
34 android:capitalize="none" |
|
35 android:layout_weight="3" |
|
36 android:scrollHorizontally="true"/> |
|
37 </LinearLayout> |
|
38 |
5 |
39 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
6 <TextView android:layout_width="fill_parent" |
40 android:orientation="horizontal" |
7 android:layout_height="wrap_content" android:text="Server connection" |
41 android:layout_width="fill_parent" |
8 android:textSize="18sp" /> |
42 android:layout_height="wrap_content" |
|
43 > |
|
44 <TextView |
|
45 android:layout_width="wrap_content" |
|
46 android:layout_height="wrap_content" |
|
47 android:text="Userid:" |
|
48 android:minWidth="90dp" |
|
49 /> |
|
50 <EditText android:id="@+id/userid" |
|
51 android:layout_width="fill_parent" |
|
52 android:layout_height="wrap_content" |
|
53 android:singleLine="true" |
|
54 android:textSize="16sp" |
|
55 android:autoText="false" |
|
56 android:capitalize="none" |
|
57 android:scrollHorizontally="true"/> |
|
58 </LinearLayout> |
|
59 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
60 android:orientation="horizontal" |
|
61 android:layout_width="fill_parent" |
|
62 android:layout_height="wrap_content" |
|
63 > |
|
64 <TextView |
|
65 android:layout_width="wrap_content" |
|
66 android:layout_height="wrap_content" |
|
67 android:text="Password:" |
|
68 android:minWidth="90dp" |
|
69 /> |
|
70 <EditText android:id="@+id/password" |
|
71 android:layout_width="fill_parent" |
|
72 android:layout_height="wrap_content" |
|
73 android:singleLine="true" |
|
74 android:password="true" |
|
75 android:textSize="16sp" |
|
76 android:autoText="false" |
|
77 android:capitalize="none" |
|
78 android:scrollHorizontally="true"/> |
|
79 </LinearLayout> |
|
80 |
9 |
81 <Button android:id="@+id/ok" |
10 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
82 android:layout_width="wrap_content" |
11 android:orientation="horizontal" android:layout_width="fill_parent" |
83 android:layout_height="wrap_content" |
12 android:layout_height="wrap_content"> |
84 android:layout_gravity="center_horizontal" |
13 <TextView android:layout_width="wrap_content" |
85 android:text="OK"> |
14 android:layout_height="wrap_content" android:text="Host/Port:" |
86 <requestFocus/> |
15 android:minWidth="90dp" android:textSize="14sp" /> |
87 </Button> |
16 <EditText android:id="@+id/host" android:layout_width="fill_parent" |
|
17 android:layout_height="wrap_content" android:singleLine="true" |
|
18 android:textSize="14sp" android:autoText="false" android:capitalize="none" |
|
19 android:layout_weight="2" android:scrollHorizontally="true" /> |
|
20 <EditText android:id="@+id/port" android:layout_width="fill_parent" |
|
21 android:layout_height="wrap_content" android:singleLine="true" |
|
22 android:textSize="14sp" android:autoText="false" android:capitalize="none" |
|
23 android:layout_weight="3" android:scrollHorizontally="true" /> |
|
24 </LinearLayout> |
|
25 |
|
26 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
27 android:orientation="horizontal" android:layout_width="fill_parent" |
|
28 android:layout_height="wrap_content"> |
|
29 <TextView android:layout_width="wrap_content" |
|
30 android:layout_height="wrap_content" android:text="Userid:" |
|
31 android:minWidth="90dp" android:textSize="14sp" /> |
|
32 <EditText android:id="@+id/userid" android:layout_width="fill_parent" |
|
33 android:layout_height="wrap_content" android:singleLine="true" |
|
34 android:textSize="14sp" android:autoText="false" android:capitalize="none" |
|
35 android:scrollHorizontally="true" /> |
|
36 </LinearLayout> |
|
37 |
|
38 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
39 android:orientation="horizontal" android:layout_width="fill_parent" |
|
40 android:layout_height="wrap_content"> |
|
41 <TextView android:layout_width="wrap_content" |
|
42 android:layout_height="wrap_content" android:text="Password:" |
|
43 android:minWidth="90dp" android:textSize="14sp" /> |
|
44 <EditText android:id="@+id/password" android:layout_width="fill_parent" |
|
45 android:layout_height="wrap_content" android:singleLine="true" |
|
46 android:password="true" android:textSize="14sp" android:autoText="false" |
|
47 android:capitalize="none" android:scrollHorizontally="true" /> |
|
48 </LinearLayout> |
|
49 |
|
50 <Spinner android:id="@+id/proxy_type" android:layout_width="fill_parent" |
|
51 android:layout_height="wrap_content" /> |
|
52 |
|
53 <LinearLayout android:id="@+id/proxy_layout" |
|
54 android:orientation="vertical" android:layout_width="fill_parent" |
|
55 android:layout_height="wrap_content"> |
|
56 |
|
57 <TextView android:layout_width="fill_parent" |
|
58 android:layout_height="wrap_content" android:text="Proxy informations" |
|
59 android:textSize="18sp" /> |
|
60 |
|
61 <LinearLayout android:orientation="horizontal" |
|
62 android:layout_width="fill_parent" android:layout_height="wrap_content"> |
|
63 <TextView android:layout_width="wrap_content" |
|
64 android:layout_height="wrap_content" android:text="Host/Port:" |
|
65 android:minWidth="90dp" android:textSize="14sp" /> |
|
66 <EditText android:id="@+id/proxy_host" android:layout_width="fill_parent" |
|
67 android:layout_height="wrap_content" android:singleLine="true" |
|
68 android:textSize="14sp" android:autoText="false" android:capitalize="none" |
|
69 android:layout_weight="2" android:scrollHorizontally="true" /> |
|
70 <EditText android:id="@+id/proxy_port" android:layout_width="fill_parent" |
|
71 android:layout_height="wrap_content" android:singleLine="true" |
|
72 android:textSize="14sp" android:autoText="false" android:capitalize="none" |
|
73 android:layout_weight="3" android:scrollHorizontally="true" /> |
|
74 </LinearLayout> |
|
75 |
|
76 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
77 android:orientation="horizontal" android:layout_width="fill_parent" |
|
78 android:layout_height="wrap_content"> |
|
79 <TextView android:layout_width="wrap_content" |
|
80 android:layout_height="wrap_content" android:text="Login :" |
|
81 android:minWidth="90dp" android:textSize="14sp" /> |
|
82 <EditText android:id="@+id/proxy_login" |
|
83 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
84 android:singleLine="true" android:textSize="14sp" android:autoText="false" |
|
85 android:capitalize="none" android:scrollHorizontally="true" /> |
|
86 </LinearLayout> |
|
87 |
|
88 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
89 android:orientation="horizontal" android:layout_width="fill_parent" |
|
90 android:layout_height="wrap_content"> |
|
91 <TextView android:layout_width="wrap_content" |
|
92 android:layout_height="wrap_content" android:text="Password:" |
|
93 android:minWidth="90dp" android:textSize="14sp" /> |
|
94 <EditText android:id="@+id/proxy_pwd" android:layout_width="fill_parent" |
|
95 android:layout_height="wrap_content" android:singleLine="true" |
|
96 android:password="true" android:textSize="14sp" android:autoText="false" |
|
97 android:capitalize="none" android:scrollHorizontally="true" /> |
|
98 </LinearLayout> |
|
99 </LinearLayout> |
|
100 |
|
101 <Button android:id="@+id/ok" android:layout_width="wrap_content" |
|
102 android:layout_height="wrap_content" android:layout_gravity="center_horizontal" |
|
103 android:text="OK"> |
|
104 <requestFocus /> |
|
105 </Button> |
|
106 |
88 </LinearLayout> |
107 </LinearLayout> |