author | Da Risk <darisk972@gmail.com> |
Fri, 26 Jun 2009 19:45:07 +0200 | |
changeset 319 | 517e80eedfd8 |
parent 230 | 21d91ef67e97 |
child 323 | 81fcc509bafc |
permissions | -rw-r--r-- |
212 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<TabHost android:id="@+id/settings_tab_host" xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:layout_width="fill_parent" |
|
4 |
android:layout_height="fill_parent"> |
|
5 |
<LinearLayout |
|
6 |
android:orientation="vertical" |
|
7 |
android:layout_width="fill_parent" |
|
8 |
android:layout_height="fill_parent"> |
|
9 |
<TabWidget android:id="@android:id/tabs" |
|
10 |
android:layout_width="fill_parent" |
|
11 |
android:layout_height="wrap_content" /> |
|
12 |
<FrameLayout android:id="@android:id/tabcontent" |
|
13 |
android:layout_width="fill_parent" |
|
14 |
android:layout_height="fill_parent"> |
|
15 |
||
16 |
<!-- |
|
17 |
Account Tab |
|
18 |
--> |
|
19 |
<ScrollView |
|
20 |
android:orientation="vertical" |
|
21 |
android:layout_width="fill_parent" |
|
22 |
android:layout_height="fill_parent"> |
|
23 |
<RelativeLayout android:id="@+id/settings_account" |
|
24 |
android:orientation="vertical" |
|
25 |
android:layout_width="fill_parent" |
|
26 |
android:layout_height="fill_parent" |
|
27 |
android:padding="10dip"> |
|
28 |
<TextView android:id="@+id/settings_account_label_username" |
|
29 |
android:layout_width="fill_parent" |
|
30 |
android:layout_height="wrap_content" |
|
31 |
android:text="@string/settings_account_username" |
|
32 |
style="@style/Label" /> |
|
33 |
<EditText android:id="@+id/settings_account_username" |
|
34 |
android:layout_width="fill_parent" |
|
35 |
android:layout_height="wrap_content" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
36 |
android:layout_below="@id/settings_account_label_username" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
37 |
android:singleLine="true" /> |
212 | 38 |
<TextView android:id="@+id/settings_account_label_password" |
39 |
android:layout_width="fill_parent" |
|
40 |
android:layout_height="wrap_content" |
|
41 |
android:layout_below="@id/settings_account_username" |
|
42 |
android:text="@string/settings_account_password" |
|
43 |
style="@style/Label" /> |
|
44 |
<EditText android:id="@+id/settings_account_password" |
|
45 |
android:layout_width="fill_parent" |
|
46 |
android:layout_height="wrap_content" |
|
47 |
android:layout_below="@id/settings_account_label_password" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
48 |
android:password="true" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
49 |
android:singleLine="true" /> |
212 | 50 |
<Button android:id="@+id/settings_account_button_save" |
51 |
android:layout_width="wrap_content" |
|
52 |
android:layout_height="wrap_content" |
|
53 |
android:layout_below="@id/settings_account_password" |
|
54 |
android:layout_alignParentRight="true" |
|
55 |
android:text="@string/button_save" /> |
|
56 |
</RelativeLayout> |
|
57 |
</ScrollView> |
|
58 |
||
59 |
<!-- |
|
60 |
XMPP Tab |
|
61 |
--> |
|
62 |
<ScrollView |
|
63 |
android:layout_width="fill_parent" |
|
64 |
android:layout_height="fill_parent" |
|
65 |
android:orientation="vertical"> |
|
66 |
<RelativeLayout android:id="@+id/settings_xmpp" |
|
67 |
android:orientation="vertical" |
|
68 |
android:layout_width="fill_parent" |
|
69 |
android:layout_height="fill_parent" |
|
70 |
android:padding="10dip"> |
|
71 |
<TableLayout android:id="@+id/settings_xmpp_table_sp" |
|
72 |
android:layout_width="fill_parent" |
|
73 |
android:layout_height="wrap_content" |
|
74 |
android:stretchColumns="1"> |
|
75 |
<TableRow> |
|
76 |
<TextView android:id="@+id/settings_xmpp_label_server" |
|
77 |
android:layout_column="1" |
|
78 |
android:layout_width="223dp" |
|
79 |
android:layout_height="wrap_content" |
|
80 |
android:text="@string/settings_xmpp_server" |
|
81 |
style="@style/Label" /> |
|
82 |
<TextView android:id="@+id/settings_xmpp_label_port" |
|
83 |
android:layout_column="2" |
|
84 |
android:layout_width="wrap_content" |
|
85 |
android:layout_height="wrap_content" |
|
86 |
android:text="@string/settings_xmpp_port" |
|
87 |
style="@style/Label" /> |
|
88 |
</TableRow> |
|
89 |
<TableRow> |
|
90 |
<EditText android:id="@+id/settings_xmpp_server" |
|
91 |
android:layout_column="1" |
|
92 |
android:layout_width="wrap_content" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
93 |
android:layout_height="wrap_content" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
94 |
android:maxWidth="223dp" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
95 |
android:singleLine="true" /> |
212 | 96 |
<EditText android:id="@+id/settings_xmpp_port" |
97 |
android:layout_column="2" |
|
98 |
android:layout_width="wrap_content" |
|
99 |
android:layout_height="wrap_content" |
|
100 |
android:minWidth="77dp" |
|
101 |
android:numeric="integer" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
102 |
android:maxLength="5" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
103 |
android:singleLine="true" /> |
212 | 104 |
</TableRow> |
105 |
</TableLayout> |
|
106 |
<CheckBox android:id="@+id/settings_xmpp_use_tls" |
|
107 |
android:layout_width="wrap_content" |
|
108 |
android:layout_height="wrap_content" |
|
109 |
android:text="@string/settings_xmpp_use_tls" |
|
110 |
android:layout_below="@id/settings_xmpp_table_sp" |
|
226 | 111 |
style="@style/CheckBoxLabel" /> |
212 | 112 |
<Button android:id="@+id/settings_xmpp_button_save" |
113 |
android:layout_width="wrap_content" |
|
114 |
android:layout_height="wrap_content" |
|
115 |
android:layout_alignParentRight="true" |
|
116 |
android:layout_below="@id/settings_xmpp_use_tls" |
|
117 |
android:text="@string/button_save" /> |
|
118 |
</RelativeLayout> |
|
119 |
</ScrollView> |
|
120 |
||
121 |
<!-- |
|
122 |
Proxy Tab |
|
123 |
--> |
|
124 |
<ScrollView |
|
125 |
android:layout_width="fill_parent" |
|
126 |
android:layout_height="fill_parent" |
|
127 |
android:orientation="vertical"> |
|
128 |
<RelativeLayout android:id="@+id/settings_proxy" |
|
129 |
android:orientation="vertical" |
|
130 |
android:layout_width="fill_parent" |
|
131 |
android:layout_height="fill_parent" |
|
132 |
android:padding="10dip"> |
|
133 |
<CheckBox android:id="@+id/settings_proxy_use" |
|
134 |
android:layout_width="wrap_content" |
|
135 |
android:layout_height="wrap_content" |
|
136 |
android:text="@string/settings_proxy_use" |
|
319 | 137 |
android:focusable="true" |
226 | 138 |
style="@style/CheckBoxLabel" /> |
212 | 139 |
<LinearLayout android:id="@+id/settings_proxy_parameters" |
140 |
android:layout_width="fill_parent" |
|
141 |
android:layout_height="fill_parent" |
|
142 |
android:layout_below="@id/settings_proxy_use" |
|
143 |
android:orientation="vertical"> |
|
144 |
<Spinner android:id="@+id/settings_proxy_type" |
|
145 |
android:layout_width="fill_parent" |
|
146 |
android:layout_height="wrap_content" /> |
|
147 |
<TableLayout android:id="@+id/settings_proxy_table_sp" |
|
148 |
android:layout_width="fill_parent" |
|
149 |
android:layout_height="wrap_content" |
|
150 |
android:stretchColumns="1"> |
|
151 |
<TableRow> |
|
152 |
<TextView android:id="@+id/settings_proxy_label_server" |
|
153 |
android:layout_column="1" |
|
154 |
android:layout_width="223dp" |
|
155 |
android:layout_height="wrap_content" |
|
156 |
android:text="@string/settings_proxy_server" |
|
157 |
style="@style/Label" /> |
|
158 |
<TextView android:id="@+id/settings_proxy_label_port" |
|
159 |
android:layout_column="2" |
|
160 |
android:layout_width="wrap_content" |
|
161 |
android:layout_height="wrap_content" |
|
162 |
android:text="@string/settings_proxy_port" |
|
163 |
style="@style/Label" /> |
|
164 |
</TableRow> |
|
165 |
<TableRow> |
|
166 |
<EditText android:id="@+id/settings_proxy_server" |
|
167 |
android:layout_column="1" |
|
168 |
android:layout_width="wrap_content" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
169 |
android:layout_height="wrap_content" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
170 |
android:maxWidth="223dp" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
171 |
android:singleLine="true" /> |
212 | 172 |
<EditText android:id="@+id/settings_proxy_port" |
173 |
android:layout_column="2" |
|
174 |
android:layout_width="wrap_content" |
|
175 |
android:layout_height="wrap_content" |
|
176 |
android:minWidth="77dp" |
|
177 |
android:numeric="integer" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
178 |
android:maxLength="5" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
179 |
android:singleLine="true" /> |
212 | 180 |
</TableRow> |
181 |
</TableLayout> |
|
182 |
<TextView android:id="@+id/settings_proxy_label_username" |
|
183 |
android:layout_width="fill_parent" |
|
184 |
android:layout_height="wrap_content" |
|
185 |
android:text="@string/settings_proxy_username" |
|
186 |
style="@style/Label" /> |
|
187 |
<EditText android:id="@+id/settings_proxy_username" |
|
188 |
android:layout_width="fill_parent" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
189 |
android:layout_height="wrap_content" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
190 |
android:singleLine="true" /> |
212 | 191 |
<TextView android:id="@+id/settings_proxy_label_password" |
192 |
android:layout_width="fill_parent" |
|
193 |
android:layout_height="wrap_content" |
|
194 |
android:text="@string/settings_proxy_password" |
|
195 |
style="@style/Label" /> |
|
196 |
<EditText android:id="@+id/settings_proxy_password" |
|
197 |
android:layout_width="fill_parent" |
|
198 |
android:layout_height="wrap_content" |
|
230
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
199 |
android:password="true" |
21d91ef67e97
Bug #166 - Passage des différents EditText de l'activité Settings en SingleLine. Correction d'un bug poussant le champs Port en dehors de la zone de vue dans les tabs Proxy et XMPP.
dasilvj@jean-manuel-da-silvas-macbook.local
parents:
226
diff
changeset
|
200 |
android:singleLine="true" /> |
212 | 201 |
</LinearLayout> |
202 |
<Button android:id="@+id/settings_proxy_button_save" |
|
203 |
android:layout_width="wrap_content" |
|
204 |
android:layout_height="wrap_content" |
|
205 |
android:layout_alignParentRight="true" |
|
206 |
android:text="@string/button_save" /> |
|
207 |
</RelativeLayout> |
|
208 |
</ScrollView> |
|
209 |
</FrameLayout> |
|
210 |
</LinearLayout> |
|
211 |
</TabHost> |