blob: 2c4a1edfdff5e0851c0f98265271c96686e06bd5 [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
jackqdyulei261c29c2018-01-04 14:55:13 -0800319 <LinearLayout android:id="@+id/metered_settings_fields"
320 android:layout_width="match_parent"
321 android:layout_height="wrap_content"
322 style="@style/wifi_item">
323
324 <TextView android:id="@+id/metered_settings_title"
325 android:layout_width="wrap_content"
326 android:layout_height="wrap_content"
327 style="@style/wifi_item_label"
328 android:text="@string/data_usage_metered_yes" />
329
330 <Spinner android:id="@+id/metered_settings"
331 android:layout_width="match_parent"
332 android:layout_height="wrap_content"
333 style="@style/wifi_item_spinner"
334 android:prompt="@string/data_usage_metered_yes"
335 android:entries="@array/wifi_metered_entries"/>
336
337 </LinearLayout>
338
Isaac Levyd621e092011-08-16 16:11:44 -0700339 <LinearLayout android:id="@+id/proxy_settings_fields"
PauloftheWest6e264272014-10-02 06:22:47 -0700340 android:layout_width="match_parent"
341 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700342 style="@style/wifi_item"
343 android:visibility="gone">
344
345 <TextView android:id="@+id/proxy_settings_title"
PauloftheWest6e264272014-10-02 06:22:47 -0700346 android:layout_width="wrap_content"
347 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700348 style="@style/wifi_item_label"
349 android:text="@string/proxy_settings_title" />
350
351 <Spinner android:id="@+id/proxy_settings"
PauloftheWest6e264272014-10-02 06:22:47 -0700352 android:layout_width="match_parent"
353 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700354 style="@style/wifi_item_spinner"
Isaac Levyd621e092011-08-16 16:11:44 -0700355 android:prompt="@string/proxy_settings_title"
356 android:entries="@array/wifi_proxy_settings" />
Jason Monk070f3562013-11-05 11:54:48 -0500357
Isaac Levyd621e092011-08-16 16:11:44 -0700358 </LinearLayout>
359
360 <LinearLayout android:id="@+id/proxy_warning_limited_support"
PauloftheWest6e264272014-10-02 06:22:47 -0700361 android:layout_width="match_parent"
362 android:layout_height="wrap_content"
363 style="@style/wifi_item"
364 android:visibility="gone">
365 <!-- Dummy to enable right-justification of warning -->
366 <TextView
367 android:layout_width="wrap_content"
368 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700369 style="@style/wifi_item_label" />
370
PauloftheWest6e264272014-10-02 06:22:47 -0700371 <TextView
372 android:layout_width="match_parent"
373 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700374 style="@style/wifi_item_content"
375 android:text="@string/proxy_warning_limited_support" />
376 </LinearLayout>
377
Jason Monk0485b7c2014-05-08 13:44:07 -0400378 <LinearLayout android:id="@+id/proxy_pac_field"
PauloftheWest6e264272014-10-02 06:22:47 -0700379 android:layout_width="match_parent"
380 android:layout_height="wrap_content"
Jason Monk0485b7c2014-05-08 13:44:07 -0400381 style="@style/wifi_section"
382 android:visibility="gone">
Samuel Tanf827c922016-01-21 18:12:53 -0800383 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700384 android:layout_width="match_parent"
385 android:layout_height="wrap_content"
386 style="@style/wifi_item">
Jason Monk0485b7c2014-05-08 13:44:07 -0400387 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700388 android:layout_width="wrap_content"
389 android:layout_height="wrap_content"
Jason Monk0485b7c2014-05-08 13:44:07 -0400390 style="@style/wifi_item_label"
391 android:text="@string/proxy_url_title" />
392
393 <EditText android:id="@+id/proxy_pac"
PauloftheWest6e264272014-10-02 06:22:47 -0700394 android:layout_width="match_parent"
395 android:layout_height="wrap_content"
Jason Monk0485b7c2014-05-08 13:44:07 -0400396 style="@style/wifi_item_content"
397 android:hint="@string/proxy_url_hint"
398 android:inputType="textNoSuggestions"
399 android:singleLine="true"/>
400 </LinearLayout>
401 </LinearLayout>
Isaac Levyd621e092011-08-16 16:11:44 -0700402 <LinearLayout android:id="@+id/proxy_fields"
PauloftheWest6e264272014-10-02 06:22:47 -0700403 android:layout_width="match_parent"
404 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700405 style="@style/wifi_section"
406 android:visibility="gone">
407
PauloftheWest6e264272014-10-02 06:22:47 -0700408 <LinearLayout
409 android:layout_width="match_parent"
410 android:layout_height="wrap_content"
411 style="@style/wifi_item">
Isaac Levyd621e092011-08-16 16:11:44 -0700412 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700413 android:layout_width="wrap_content"
414 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700415 style="@style/wifi_item_label"
416 android:text="@string/proxy_hostname_label" />
417
418 <EditText android:id="@+id/proxy_hostname"
PauloftheWest6e264272014-10-02 06:22:47 -0700419 android:layout_width="match_parent"
420 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800421 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700422 android:hint="@string/proxy_hostname_hint"
423 android:inputType="textNoSuggestions"
424 android:singleLine="true" />
425 </LinearLayout>
PauloftheWest6e264272014-10-02 06:22:47 -0700426 <LinearLayout
427 android:layout_width="match_parent"
428 android:layout_height="wrap_content"
429 style="@style/wifi_item">
Isaac Levyd621e092011-08-16 16:11:44 -0700430 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700431 android:layout_width="wrap_content"
432 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700433 style="@style/wifi_item_label"
434 android:text="@string/proxy_port_label" />
435
436 <EditText android:id="@+id/proxy_port"
PauloftheWest6e264272014-10-02 06:22:47 -0700437 android:layout_width="match_parent"
438 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800439 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700440 android:hint="@string/proxy_port_hint"
441 android:inputType="number"
442 android:singleLine="true" />
443 </LinearLayout>
PauloftheWest6e264272014-10-02 06:22:47 -0700444 <LinearLayout
445 android:layout_width="match_parent"
446 android:layout_height="wrap_content"
447 style="@style/wifi_item">
Isaac Levyd621e092011-08-16 16:11:44 -0700448 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700449 android:layout_width="wrap_content"
450 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700451 style="@style/wifi_item_label"
452 android:text="@string/proxy_exclusionlist_label" />
453
454 <EditText android:id="@+id/proxy_exclusionlist"
PauloftheWest6e264272014-10-02 06:22:47 -0700455 android:layout_width="match_parent"
456 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800457 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700458 android:hint="@string/proxy_exclusionlist_hint"
459 android:inputType="textNoSuggestions"
460 android:singleLine="true" />
461 </LinearLayout>
462 </LinearLayout>
463
464 <LinearLayout android:id="@+id/ip_fields"
PauloftheWest6e264272014-10-02 06:22:47 -0700465 android:layout_width="match_parent"
466 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700467 style="@style/wifi_item"
468 android:visibility="gone">
469
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800470 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700471 android:layout_width="wrap_content"
472 android:layout_height="wrap_content"
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800473 style="@style/wifi_item_label"
Isaac Levyd621e092011-08-16 16:11:44 -0700474 android:text="@string/wifi_ip_settings" />
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800475
Isaac Levyd621e092011-08-16 16:11:44 -0700476 <Spinner android:id="@+id/ip_settings"
PauloftheWest6e264272014-10-02 06:22:47 -0700477 android:layout_width="match_parent"
478 android:layout_height="wrap_content"
Maurice Lamdf055a42016-05-10 12:45:53 -0700479 style="@style/wifi_item_spinner"
Isaac Levyd621e092011-08-16 16:11:44 -0700480 android:prompt="@string/wifi_ip_settings"
481 android:entries="@array/wifi_ip_settings" />
482
483 </LinearLayout>
484
485 <LinearLayout android:id="@+id/staticip"
PauloftheWest6e264272014-10-02 06:22:47 -0700486 android:layout_width="match_parent"
487 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700488 style="@style/wifi_section"
489 android:visibility="gone">
490 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700491 android:layout_width="match_parent"
492 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700493 style="@style/wifi_item" >
494 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700495 android:layout_width="wrap_content"
496 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700497 style="@style/wifi_item_label"
498 android:text="@string/wifi_ip_address" />
499
500 <EditText android:id="@+id/ipaddress"
PauloftheWest6e264272014-10-02 06:22:47 -0700501 android:layout_width="match_parent"
502 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800503 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700504 android:singleLine="true"
505 android:hint="@string/wifi_ip_address_hint"
506 android:inputType="textNoSuggestions" />
507 </LinearLayout>
508
509 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700510 android:layout_width="match_parent"
511 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700512 style="@style/wifi_item" >
513 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700514 android:layout_width="wrap_content"
515 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700516 style="@style/wifi_item_label"
517 android:text="@string/wifi_gateway" />
518
519 <EditText android:id="@+id/gateway"
PauloftheWest6e264272014-10-02 06:22:47 -0700520 android:layout_width="match_parent"
521 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800522 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700523 android:singleLine="true"
524 android:hint="@string/wifi_gateway_hint"
525 android:inputType="textNoSuggestions" />
526 </LinearLayout>
527
528 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700529 android:layout_width="match_parent"
530 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700531 style="@style/wifi_item" >
532 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700533 android:layout_width="wrap_content"
534 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700535 style="@style/wifi_item_label"
536 android:text="@string/wifi_network_prefix_length" />
537
538 <EditText android:id="@+id/network_prefix_length"
PauloftheWest6e264272014-10-02 06:22:47 -0700539 android:layout_width="match_parent"
540 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800541 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700542 android:singleLine="true"
543 android:hint="@string/wifi_network_prefix_length_hint"
544 android:inputType="number" />
545 </LinearLayout>
546 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700547 android:layout_width="match_parent"
548 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700549 style="@style/wifi_item" >
550 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700551 android:layout_width="wrap_content"
552 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700553 style="@style/wifi_item_label"
554 android:text="@string/wifi_dns1" />
555
556 <EditText android:id="@+id/dns1"
PauloftheWest6e264272014-10-02 06:22:47 -0700557 android:layout_width="match_parent"
558 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800559 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700560 android:singleLine="true"
561 android:hint="@string/wifi_dns1_hint"
562 android:inputType="textNoSuggestions" />
563 </LinearLayout>
564
565 <LinearLayout
PauloftheWest6e264272014-10-02 06:22:47 -0700566 android:layout_width="match_parent"
567 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700568 style="@style/wifi_item" >
569 <TextView
PauloftheWest6e264272014-10-02 06:22:47 -0700570 android:layout_width="wrap_content"
571 android:layout_height="wrap_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700572 style="@style/wifi_item_label"
573 android:text="@string/wifi_dns2" />
574
575 <EditText android:id="@+id/dns2"
PauloftheWest6e264272014-10-02 06:22:47 -0700576 android:layout_width="match_parent"
577 android:layout_height="wrap_content"
Jeff Sharkeyfa6587d2013-02-07 15:45:29 -0800578 style="@style/wifi_item_edit_content"
Isaac Levyd621e092011-08-16 16:11:44 -0700579 android:singleLine="true"
580 android:hint="@string/wifi_dns2_hint"
581 android:inputType="textNoSuggestions" />
582 </LinearLayout>
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800583 </LinearLayout>
Bartosz Fabianowski1058c0c2015-12-16 17:15:25 +0100584
585 <LinearLayout
586 android:layout_width="match_parent"
587 android:layout_height="wrap_content"
588 style="@style/wifi_section">
589 <LinearLayout
590 android:layout_width="match_parent"
591 android:layout_height="wrap_content"
592 style="@style/wifi_item" >
593 <CheckBox android:id="@+id/shared"
594 android:layout_width="match_parent"
595 android:layout_height="wrap_content"
596 style="@style/wifi_item_content"
597 android:textSize="14sp"
598 android:text="@string/wifi_shared"
599 android:checked="true" />
600 </LinearLayout>
601 </LinearLayout>
Irfan Sheriffd9c7dcf2011-02-09 15:26:25 -0800602 </LinearLayout>
Chia-chi Yeh48090d42010-01-25 15:41:42 +0800603 </LinearLayout>
604</ScrollView>