blob: cfb6d9a6a5b88d524b0e7bcb85bc6dfe42fcacd8 [file] [log] [blame]
Chia-chi Yeh48090d42010-01-25 15:41:42 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
Maurice Lamdf055a42016-05-10 12:45:53 -070018 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:fadeScrollbars="false"
21 android:scrollIndicators="top|bottom">
Chia-chi Yeh48090d42010-01-25 15:41:42 +080022
23 <LinearLayout
Amith Yamasani77859df2012-05-29 15:49:29 -070024 android:layout_width="match_parent"
Chia-chi Yeh48090d42010-01-25 15:41:42 +080025 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -080026 android:orientation="vertical"
27 android:paddingBottom="8dip">
Chia-chi Yeh48090d42010-01-25 15:41:42 +080028
29 <LinearLayout android:id="@+id/info"
PauloftheWest6e264272014-10-02 06:22:47 -070030 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080032 style="@style/wifi_section" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +080033
34 <LinearLayout android:id="@+id/type"
PauloftheWest6e264272014-10-02 06:22:47 -070035 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080037 style="@style/wifi_section"
Chia-chi Yeh48090d42010-01-25 15:41:42 +080038 android:visibility="gone">
39
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080040 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -070041 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 style="@style/wifi_item" >
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080044 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -070045 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080047 style="@style/wifi_item_label"
Fabrice Di Meglioeab91502012-09-11 15:17:40 -070048 android:text="@string/wifi_ssid"
49 android:textDirection="locale" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +080050
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080051 <EditText android:id="@+id/ssid"
PauloftheWest6e264272014-10-02 06:22:47 -070052 android:layout_width="match_parent"
53 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -080054 style="@style/wifi_item_edit_content"
Jean Chalard0ac95052013-04-19 21:46:14 +090055 android:hint="@string/wifi_ssid_hint"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080056 android:singleLine="true"
57 android:inputType="textNoSuggestions" />
Fan Zhangcc070432017-06-05 15:50:00 -070058
59 <LinearLayout android:id="@+id/ssid_too_long_warning"
60 android:layout_width="match_parent"
61 android:layout_height="wrap_content"
62 android:visibility="gone"
63 style="@style/wifi_item" >
64 <TextView
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 style="@style/wifi_item_warning"
68 android:text="@string/wifi_ssid_too_long" />
69 </LinearLayout>
70
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080071 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +080072
PauloftheWest6e264272014-10-02 06:22:47 -070073 <LinearLayout
74 android:layout_width="match_parent"
75 android:layout_height="wrap_content"
76 style="@style/wifi_item" >
77 <TextView
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
Sanket Padawe9235e672014-12-11 15:48:45 -080080 android:minEms="16"
PauloftheWest6e264272014-10-02 06:22:47 -070081 style="@style/wifi_item_label"
82 android:text="@string/wifi_security" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +080083
PauloftheWest6e264272014-10-02 06:22:47 -070084 <Spinner android:id="@+id/security"
85 android:layout_width="match_parent"
86 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -070087 style="@style/wifi_item_spinner"
PauloftheWest6e264272014-10-02 06:22:47 -070088 android:prompt="@string/wifi_security"
89 android:entries="@array/wifi_security" />
90 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +080091 </LinearLayout>
92
Irfan Sheriffb3024fa2010-09-16 17:53:59 -070093 <LinearLayout android:id="@+id/security_fields"
PauloftheWest6e264272014-10-02 06:22:47 -070094 android:layout_width="match_parent"
95 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -080096 style="@style/wifi_section"
Chia-chi Yeh48090d42010-01-25 15:41:42 +080097 android:visibility="gone">
98
99 <LinearLayout android:id="@+id/eap"
PauloftheWest6e264272014-10-02 06:22:47 -0700100 android:layout_width="match_parent"
101 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800102 style="@style/wifi_section"
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800103 android:visibility="gone">
104
Partha Nba7ee522012-01-17 18:33:03 -0800105 <LinearLayout android:id="@+id/l_method"
PauloftheWest6e264272014-10-02 06:22:47 -0700106 android:layout_width="match_parent"
107 android:layout_height="wrap_content"
Partha Nba7ee522012-01-17 18:33:03 -0800108 android:visibility="gone"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800109 style="@style/wifi_item" >
110 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800113 style="@style/wifi_item_label"
114 android:text="@string/wifi_eap_method" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800115
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800116 <Spinner android:id="@+id/method"
PauloftheWest6e264272014-10-02 06:22:47 -0700117 android:layout_width="match_parent"
118 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700119 style="@style/wifi_item_spinner"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800120 android:prompt="@string/wifi_eap_method"
121 android:entries="@array/wifi_eap_method" />
122 </LinearLayout>
Samuel Tanf827c922016-01-21 18:12:53 -0800123
Partha Nba7ee522012-01-17 18:33:03 -0800124 <LinearLayout android:id="@+id/l_phase2"
PauloftheWest6e264272014-10-02 06:22:47 -0700125 android:layout_width="match_parent"
126 android:layout_height="wrap_content"
Partha Nba7ee522012-01-17 18:33:03 -0800127 android:visibility="gone"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800128 style="@style/wifi_item" >
129 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700130 android:layout_width="wrap_content"
131 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800132 style="@style/wifi_item_label"
133 android:text="@string/please_select_phase2" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800134
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800135 <Spinner android:id="@+id/phase2"
PauloftheWest6e264272014-10-02 06:22:47 -0700136 android:layout_width="match_parent"
137 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700138 style="@style/wifi_item_spinner"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800139 android:prompt="@string/please_select_phase2"
140 android:entries="@array/wifi_phase2_entries" />
141 </LinearLayout>
Irfan Sheriffde3e5662010-06-02 15:25:13 -0700142
Partha Nba7ee522012-01-17 18:33:03 -0800143 <LinearLayout android:id="@+id/l_ca_cert"
PauloftheWest6e264272014-10-02 06:22:47 -0700144 android:layout_width="match_parent"
145 android:layout_height="wrap_content"
Partha Nba7ee522012-01-17 18:33:03 -0800146 android:visibility="gone"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800147 style="@style/wifi_item" >
148 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700149 android:layout_width="wrap_content"
150 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800151 style="@style/wifi_item_label"
152 android:text="@string/wifi_eap_ca_cert" />
Irfan Sheriffde3e5662010-06-02 15:25:13 -0700153
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800154 <Spinner android:id="@+id/ca_cert"
PauloftheWest6e264272014-10-02 06:22:47 -0700155 android:layout_width="match_parent"
156 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700157 style="@style/wifi_item_spinner"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800158 android:prompt="@string/wifi_eap_ca_cert" />
159 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800160
Samuel Tan57c329c2016-01-21 18:17:17 -0800161 <LinearLayout android:id="@+id/no_ca_cert_warning"
162 android:layout_width="match_parent"
163 android:layout_height="wrap_content"
164 android:visibility="gone"
165 style="@style/wifi_item" >
166 <TextView
167 android:layout_width="wrap_content"
168 android:layout_height="wrap_content"
169 style="@style/wifi_item_warning"
170 android:text="@string/wifi_do_not_validate_eap_server_warning" />
171 </LinearLayout>
172
Samuel Tand54bbd52016-01-29 13:26:17 -0800173 <LinearLayout android:id="@+id/l_domain"
174 android:layout_width="match_parent"
175 android:layout_height="wrap_content"
176 style="@style/wifi_item" >
177 <TextView
178 android:layout_width="wrap_content"
179 android:layout_height="wrap_content"
180 style="@style/wifi_item_label"
181 android:text="@string/wifi_eap_domain" />
182
183 <EditText android:id="@+id/domain"
184 android:layout_width="match_parent"
185 android:layout_height="wrap_content"
186 style="@style/wifi_item_edit_content"
187 android:singleLine="true"
188 android:inputType="textNoSuggestions" />
189 </LinearLayout>
190
Samuel Tan2b16cd32016-02-02 15:54:37 -0800191 <LinearLayout android:id="@+id/no_domain_warning"
192 android:layout_width="match_parent"
193 android:layout_height="wrap_content"
194 android:visibility="gone"
195 style="@style/wifi_item" >
196 <TextView
197 android:layout_width="wrap_content"
198 android:layout_height="wrap_content"
199 style="@style/wifi_item_warning"
200 android:text="@string/wifi_no_domain_warning" />
201 </LinearLayout>
202
Partha Nba7ee522012-01-17 18:33:03 -0800203 <LinearLayout android:id="@+id/l_user_cert"
PauloftheWest6e264272014-10-02 06:22:47 -0700204 android:layout_width="match_parent"
205 android:layout_height="wrap_content"
Partha Nba7ee522012-01-17 18:33:03 -0800206 android:visibility="gone"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800207 style="@style/wifi_item" >
208 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700209 android:layout_width="wrap_content"
210 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800211 style="@style/wifi_item_label"
212 android:text="@string/wifi_eap_user_cert" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800213
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800214 <Spinner android:id="@+id/user_cert"
PauloftheWest6e264272014-10-02 06:22:47 -0700215 android:layout_width="match_parent"
216 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700217 style="@style/wifi_item_spinner"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800218 android:prompt="@string/wifi_eap_user_cert" />
219 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800220
Partha Nba7ee522012-01-17 18:33:03 -0800221 <LinearLayout android:id="@+id/l_identity"
PauloftheWest6e264272014-10-02 06:22:47 -0700222 android:layout_width="match_parent"
223 android:layout_height="wrap_content"
Partha Nba7ee522012-01-17 18:33:03 -0800224 android:visibility="gone"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800225 style="@style/wifi_item" >
226 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700227 android:layout_width="wrap_content"
228 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800229 style="@style/wifi_item_label"
230 android:text="@string/wifi_eap_identity" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800231
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800232 <EditText android:id="@+id/identity"
PauloftheWest6e264272014-10-02 06:22:47 -0700233 android:layout_width="match_parent"
234 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800235 style="@style/wifi_item_edit_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800236 android:singleLine="true"
237 android:inputType="textNoSuggestions" />
238 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800239
Partha Nba7ee522012-01-17 18:33:03 -0800240 <LinearLayout android:id="@+id/l_anonymous"
PauloftheWest6e264272014-10-02 06:22:47 -0700241 android:layout_width="match_parent"
242 android:layout_height="wrap_content"
Partha Nba7ee522012-01-17 18:33:03 -0800243 android:visibility="gone"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800244 style="@style/wifi_item" >
245 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700246 android:layout_width="wrap_content"
247 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800248 style="@style/wifi_item_label"
249 android:text="@string/wifi_eap_anonymous" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800250
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800251 <EditText android:id="@+id/anonymous"
PauloftheWest6e264272014-10-02 06:22:47 -0700252 android:layout_width="match_parent"
253 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800254 style="@style/wifi_item_edit_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800255 android:singleLine="true"
256 android:inputType="textNoSuggestions" />
257 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800258 </LinearLayout>
259
Irfan Sherifff2e086b2013-01-17 09:47:45 -0800260 <LinearLayout android:id="@+id/password_layout"
PauloftheWest6e264272014-10-02 06:22:47 -0700261 android:layout_width="match_parent"
262 android:layout_height="wrap_content"
263 style="@style/wifi_item" >
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800264 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700265 android:layout_width="wrap_content"
266 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800267 style="@style/wifi_item_label"
268 android:text="@string/wifi_password" />
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800269
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800270 <EditText android:id="@+id/password"
PauloftheWest6e264272014-10-02 06:22:47 -0700271 android:layout_width="match_parent"
272 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800273 style="@style/wifi_item_edit_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800274 android:singleLine="true"
275 android:password="true" />
276 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800277
Irfan Sherifff2e086b2013-01-17 09:47:45 -0800278 <LinearLayout android:id="@+id/show_password_layout"
PauloftheWest6e264272014-10-02 06:22:47 -0700279 android:layout_width="match_parent"
280 android:layout_height="wrap_content"
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800281 style="@style/wifi_item" >
282 <!-- Dummy to enable right-justification of checkbox -->
283 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700284 android:layout_width="wrap_content"
285 android:layout_height="wrap_content"
286 style="@style/wifi_item_label" />
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800287
288 <CheckBox android:id="@+id/show_password"
PauloftheWest6e264272014-10-02 06:22:47 -0700289 android:layout_width="match_parent"
290 android:layout_height="wrap_content"
291 style="@style/wifi_item_content"
292 android:textSize="14sp"
293 android:text="@string/wifi_show_password" />
Amith Yamasani1c7e49b2010-12-08 11:12:23 -0800294 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800295 </LinearLayout>
Irfan Sherifff027ce52010-08-30 17:03:28 -0700296
Isaac Levyd621e092011-08-16 16:11:44 -0700297 <LinearLayout android:id="@+id/wifi_advanced_toggle"
PauloftheWest6e264272014-10-02 06:22:47 -0700298 android:layout_width="match_parent"
299 android:layout_height="wrap_content"
300 style="@style/wifi_item"
Maurice Lamdf055a42016-05-10 12:45:53 -0700301 android:paddingBottom="4dp"
Salvador Martinez7c59e7a2016-09-26 15:43:00 -0700302 android:importantForAccessibility="yes"
303 android:contentDescription="@string/wifi_advanced_toggle_description_collapsed"
PauloftheWest6e264272014-10-02 06:22:47 -0700304 android:visibility="gone">
Isaac Levyd621e092011-08-16 16:11:44 -0700305 <CheckBox android:id="@+id/wifi_advanced_togglebox"
PauloftheWest6e264272014-10-02 06:22:47 -0700306 android:layout_width="match_parent"
307 android:layout_height="wrap_content"
Maurice Lama8b824d2015-02-12 14:53:59 -0800308 style="@style/wifi_advanced_toggle"
Salvador Martinez7c59e7a2016-09-26 15:43:00 -0700309 android:importantForAccessibility="noHideDescendants"
Isaac Levyd621e092011-08-16 16:11:44 -0700310 android:text="@string/wifi_show_advanced" />
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800311 </LinearLayout>
312
Isaac Levyd621e092011-08-16 16:11:44 -0700313 <LinearLayout android:id="@+id/wifi_advanced_fields"
314 android:layout_width="match_parent"
315 android:layout_height="wrap_content"
316 android:orientation="vertical"
317 android:visibility="gone">
Isaac Levyd621e092011-08-16 16:11:44 -0700318
319 <LinearLayout android:id="@+id/proxy_settings_fields"
PauloftheWest6e264272014-10-02 06:22:47 -0700320 android:layout_width="match_parent"
321 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700322 style="@style/wifi_item"
323 android:visibility="gone">
324
325 <TextView android:id="@+id/proxy_settings_title"
PauloftheWest6e264272014-10-02 06:22:47 -0700326 android:layout_width="wrap_content"
327 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700328 style="@style/wifi_item_label"
329 android:text="@string/proxy_settings_title" />
330
331 <Spinner android:id="@+id/proxy_settings"
PauloftheWest6e264272014-10-02 06:22:47 -0700332 android:layout_width="match_parent"
333 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700334 style="@style/wifi_item_spinner"
Isaac Levyd621e092011-08-16 16:11:44 -0700335 android:prompt="@string/proxy_settings_title"
336 android:entries="@array/wifi_proxy_settings" />
Jason Monk070f3562013-11-05 11:54:48 -0500337
Isaac Levyd621e092011-08-16 16:11:44 -0700338 </LinearLayout>
339
340 <LinearLayout android:id="@+id/proxy_warning_limited_support"
PauloftheWest6e264272014-10-02 06:22:47 -0700341 android:layout_width="match_parent"
342 android:layout_height="wrap_content"
343 style="@style/wifi_item"
344 android:visibility="gone">
345 <!-- Dummy to enable right-justification of warning -->
346 <TextView
347 android:layout_width="wrap_content"
348 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700349 style="@style/wifi_item_label" />
350
PauloftheWest6e264272014-10-02 06:22:47 -0700351 <TextView
352 android:layout_width="match_parent"
353 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700354 style="@style/wifi_item_content"
355 android:text="@string/proxy_warning_limited_support" />
356 </LinearLayout>
357
Jason Monk0485b7c2014-05-08 13:44:07 -0400358 <LinearLayout android:id="@+id/proxy_pac_field"
PauloftheWest6e264272014-10-02 06:22:47 -0700359 android:layout_width="match_parent"
360 android:layout_height="wrap_content"
Jason Monk0485b7c2014-05-08 13:44:07 -0400361 style="@style/wifi_section"
362 android:visibility="gone">
Samuel Tanf827c922016-01-21 18:12:53 -0800363 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700364 android:layout_width="match_parent"
365 android:layout_height="wrap_content"
366 style="@style/wifi_item">
Jason Monk0485b7c2014-05-08 13:44:07 -0400367 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700368 android:layout_width="wrap_content"
369 android:layout_height="wrap_content"
Jason Monk0485b7c2014-05-08 13:44:07 -0400370 style="@style/wifi_item_label"
371 android:text="@string/proxy_url_title" />
372
373 <EditText android:id="@+id/proxy_pac"
PauloftheWest6e264272014-10-02 06:22:47 -0700374 android:layout_width="match_parent"
375 android:layout_height="wrap_content"
Jason Monk0485b7c2014-05-08 13:44:07 -0400376 style="@style/wifi_item_content"
377 android:hint="@string/proxy_url_hint"
378 android:inputType="textNoSuggestions"
379 android:singleLine="true"/>
380 </LinearLayout>
381 </LinearLayout>
Isaac Levyd621e092011-08-16 16:11:44 -0700382 <LinearLayout android:id="@+id/proxy_fields"
PauloftheWest6e264272014-10-02 06:22:47 -0700383 android:layout_width="match_parent"
384 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700385 style="@style/wifi_section"
386 android:visibility="gone">
387
PauloftheWest6e264272014-10-02 06:22:47 -0700388 <LinearLayout
389 android:layout_width="match_parent"
390 android:layout_height="wrap_content"
391 style="@style/wifi_item">
Isaac Levyd621e092011-08-16 16:11:44 -0700392 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700393 android:layout_width="wrap_content"
394 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700395 style="@style/wifi_item_label"
396 android:text="@string/proxy_hostname_label" />
397
398 <EditText android:id="@+id/proxy_hostname"
PauloftheWest6e264272014-10-02 06:22:47 -0700399 android:layout_width="match_parent"
400 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800401 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700402 android:hint="@string/proxy_hostname_hint"
403 android:inputType="textNoSuggestions"
404 android:singleLine="true" />
405 </LinearLayout>
PauloftheWest6e264272014-10-02 06:22:47 -0700406 <LinearLayout
407 android:layout_width="match_parent"
408 android:layout_height="wrap_content"
409 style="@style/wifi_item">
Isaac Levyd621e092011-08-16 16:11:44 -0700410 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700411 android:layout_width="wrap_content"
412 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700413 style="@style/wifi_item_label"
414 android:text="@string/proxy_port_label" />
415
416 <EditText android:id="@+id/proxy_port"
PauloftheWest6e264272014-10-02 06:22:47 -0700417 android:layout_width="match_parent"
418 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800419 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700420 android:hint="@string/proxy_port_hint"
421 android:inputType="number"
422 android:singleLine="true" />
423 </LinearLayout>
PauloftheWest6e264272014-10-02 06:22:47 -0700424 <LinearLayout
425 android:layout_width="match_parent"
426 android:layout_height="wrap_content"
427 style="@style/wifi_item">
Isaac Levyd621e092011-08-16 16:11:44 -0700428 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700429 android:layout_width="wrap_content"
430 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700431 style="@style/wifi_item_label"
432 android:text="@string/proxy_exclusionlist_label" />
433
434 <EditText android:id="@+id/proxy_exclusionlist"
PauloftheWest6e264272014-10-02 06:22:47 -0700435 android:layout_width="match_parent"
436 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800437 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700438 android:hint="@string/proxy_exclusionlist_hint"
439 android:inputType="textNoSuggestions"
440 android:singleLine="true" />
441 </LinearLayout>
442 </LinearLayout>
443
444 <LinearLayout android:id="@+id/ip_fields"
PauloftheWest6e264272014-10-02 06:22:47 -0700445 android:layout_width="match_parent"
446 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700447 style="@style/wifi_item"
448 android:visibility="gone">
449
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800450 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700451 android:layout_width="wrap_content"
452 android:layout_height="wrap_content"
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800453 style="@style/wifi_item_label"
Isaac Levyd621e092011-08-16 16:11:44 -0700454 android:text="@string/wifi_ip_settings" />
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800455
Isaac Levyd621e092011-08-16 16:11:44 -0700456 <Spinner android:id="@+id/ip_settings"
PauloftheWest6e264272014-10-02 06:22:47 -0700457 android:layout_width="match_parent"
458 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700459 style="@style/wifi_item_spinner"
Isaac Levyd621e092011-08-16 16:11:44 -0700460 android:prompt="@string/wifi_ip_settings"
461 android:entries="@array/wifi_ip_settings" />
462
463 </LinearLayout>
464
465 <LinearLayout android:id="@+id/staticip"
PauloftheWest6e264272014-10-02 06:22:47 -0700466 android:layout_width="match_parent"
467 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700468 style="@style/wifi_section"
469 android:visibility="gone">
470 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700471 android:layout_width="match_parent"
472 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700473 style="@style/wifi_item" >
474 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700475 android:layout_width="wrap_content"
476 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700477 style="@style/wifi_item_label"
478 android:text="@string/wifi_ip_address" />
479
480 <EditText android:id="@+id/ipaddress"
PauloftheWest6e264272014-10-02 06:22:47 -0700481 android:layout_width="match_parent"
482 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800483 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700484 android:singleLine="true"
485 android:hint="@string/wifi_ip_address_hint"
486 android:inputType="textNoSuggestions" />
487 </LinearLayout>
488
489 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700490 android:layout_width="match_parent"
491 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700492 style="@style/wifi_item" >
493 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700494 android:layout_width="wrap_content"
495 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700496 style="@style/wifi_item_label"
497 android:text="@string/wifi_gateway" />
498
499 <EditText android:id="@+id/gateway"
PauloftheWest6e264272014-10-02 06:22:47 -0700500 android:layout_width="match_parent"
501 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800502 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700503 android:singleLine="true"
504 android:hint="@string/wifi_gateway_hint"
505 android:inputType="textNoSuggestions" />
506 </LinearLayout>
507
508 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700509 android:layout_width="match_parent"
510 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700511 style="@style/wifi_item" >
512 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700513 android:layout_width="wrap_content"
514 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700515 style="@style/wifi_item_label"
516 android:text="@string/wifi_network_prefix_length" />
517
518 <EditText android:id="@+id/network_prefix_length"
PauloftheWest6e264272014-10-02 06:22:47 -0700519 android:layout_width="match_parent"
520 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800521 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700522 android:singleLine="true"
523 android:hint="@string/wifi_network_prefix_length_hint"
524 android:inputType="number" />
525 </LinearLayout>
526 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700527 android:layout_width="match_parent"
528 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700529 style="@style/wifi_item" >
530 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700531 android:layout_width="wrap_content"
532 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700533 style="@style/wifi_item_label"
534 android:text="@string/wifi_dns1" />
535
536 <EditText android:id="@+id/dns1"
PauloftheWest6e264272014-10-02 06:22:47 -0700537 android:layout_width="match_parent"
538 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800539 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700540 android:singleLine="true"
541 android:hint="@string/wifi_dns1_hint"
542 android:inputType="textNoSuggestions" />
543 </LinearLayout>
544
545 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700546 android:layout_width="match_parent"
547 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700548 style="@style/wifi_item" >
549 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700550 android:layout_width="wrap_content"
551 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700552 style="@style/wifi_item_label"
553 android:text="@string/wifi_dns2" />
554
555 <EditText android:id="@+id/dns2"
PauloftheWest6e264272014-10-02 06:22:47 -0700556 android:layout_width="match_parent"
557 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800558 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700559 android:singleLine="true"
560 android:hint="@string/wifi_dns2_hint"
561 android:inputType="textNoSuggestions" />
562 </LinearLayout>
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800563 </LinearLayout>
Bartosz Fabianowski1058c0c2015-12-16 17:15:25 +0100564
565 <LinearLayout
566 android:layout_width="match_parent"
567 android:layout_height="wrap_content"
568 style="@style/wifi_section">
569 <LinearLayout
570 android:layout_width="match_parent"
571 android:layout_height="wrap_content"
572 style="@style/wifi_item" >
573 <CheckBox android:id="@+id/shared"
574 android:layout_width="match_parent"
575 android:layout_height="wrap_content"
576 style="@style/wifi_item_content"
577 android:textSize="14sp"
578 android:text="@string/wifi_shared"
579 android:checked="true" />
580 </LinearLayout>
581 </LinearLayout>
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800582 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800583 </LinearLayout>
584</ScrollView>