• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@+id/l_wifidialog"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:orientation="vertical"
23    android:paddingBottom="8dip">
24
25    <LinearLayout android:id="@+id/info"
26                  android:layout_width="match_parent"
27                  android:layout_height="wrap_content"
28                  style="@style/wifi_section"/>
29
30    <LinearLayout android:id="@+id/type"
31                  android:layout_width="match_parent"
32                  android:layout_height="wrap_content"
33                  style="@style/wifi_section"
34                  android:visibility="gone">
35
36        <LinearLayout
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            style="@style/wifi_item">
40            <TextView
41                android:layout_width="wrap_content"
42                android:layout_height="wrap_content"
43                style="@style/wifi_item_label"
44                android:text="@string/wifi_ssid"
45                android:textDirection="locale"/>
46
47            <LinearLayout
48                android:layout_width="match_parent"
49                android:layout_height="wrap_content"
50                android:orientation="horizontal">
51                <EditText android:id="@+id/ssid"
52                          android:layout_width="0dp"
53                          android:layout_height="wrap_content"
54                          android:layout_weight="1"
55                          style="@style/wifi_item_edit_content"
56                          android:hint="@string/wifi_ssid_hint"
57                          android:singleLine="true"
58                          android:inputType="textNoSuggestions"/>
59
60                <ImageButton
61                    android:id="@+id/ssid_scanner_button"
62                    android:layout_width="wrap_content"
63                    android:layout_height="wrap_content"
64                    android:minWidth="@dimen/min_tap_target_size"
65                    android:minHeight="@dimen/min_tap_target_size"
66                    android:background="?android:attr/selectableItemBackground"
67                    android:src="@drawable/ic_scan_24dp"
68                    android:contentDescription="@string/wifi_dpp_scan_qr_code"/>
69            </LinearLayout>
70
71            <LinearLayout android:id="@+id/ssid_too_long_warning"
72                          android:layout_width="match_parent"
73                          android:layout_height="wrap_content"
74                          android:visibility="gone"
75                          style="@style/wifi_item">
76                <TextView
77                    android:layout_width="wrap_content"
78                    android:layout_height="wrap_content"
79                    style="@style/wifi_item_warning"
80                    android:text="@string/wifi_ssid_too_long"/>
81            </LinearLayout>
82
83        </LinearLayout>
84
85        <LinearLayout
86            android:layout_width="match_parent"
87            android:layout_height="wrap_content"
88            style="@style/wifi_item">
89            <TextView
90                android:layout_width="wrap_content"
91                android:layout_height="wrap_content"
92                android:minEms="16"
93                style="@style/wifi_item_label"
94                android:text="@string/wifi_security"/>
95
96            <!-- Entries are added dynamically to this spinner -->
97            <!-- See WifiConfigController.configureSecuritySpinner -->
98            <Spinner android:id="@+id/security"
99                     android:layout_width="match_parent"
100                     android:layout_height="wrap_content"
101                     style="@style/wifi_item_spinner"
102                     android:prompt="@string/wifi_security"/>
103        </LinearLayout>
104    </LinearLayout>
105
106    <LinearLayout android:id="@+id/security_fields"
107                  android:layout_width="match_parent"
108                  android:layout_height="wrap_content"
109                  style="@style/wifi_section"
110                  android:visibility="gone">
111
112        <LinearLayout android:id="@+id/eap"
113                      android:layout_width="match_parent"
114                      android:layout_height="wrap_content"
115                      style="@style/wifi_section"
116                      android:visibility="gone">
117
118            <LinearLayout android:id="@+id/l_method"
119                          android:layout_width="match_parent"
120                          android:layout_height="wrap_content"
121                          android:visibility="gone"
122                          style="@style/wifi_item">
123                <TextView
124                    android:layout_width="wrap_content"
125                    android:layout_height="wrap_content"
126                    style="@style/wifi_item_label"
127                    android:text="@string/wifi_eap_method"/>
128
129                <Spinner android:id="@+id/method"
130                         android:layout_width="match_parent"
131                         android:layout_height="wrap_content"
132                         style="@style/wifi_item_spinner"
133                         android:prompt="@string/wifi_eap_method"/>
134            </LinearLayout>
135
136            <LinearLayout android:id="@+id/l_sim"
137                          android:layout_width="match_parent"
138                          android:layout_height="wrap_content"
139                          android:visibility="gone"
140                          style="@style/wifi_item">
141                <TextView
142                    android:layout_width="wrap_content"
143                    android:layout_height="wrap_content"
144                    style="@style/wifi_item_label"
145                    android:text="@string/sim_card"/>
146
147                <Spinner android:id="@+id/sim"
148                         android:layout_width="match_parent"
149                         android:layout_height="wrap_content"
150                         style="@style/wifi_item_spinner"
151                         android:prompt="@string/sim_card"/>
152            </LinearLayout>
153
154            <LinearLayout android:id="@+id/l_phase2"
155                          android:layout_width="match_parent"
156                          android:layout_height="wrap_content"
157                          android:visibility="gone"
158                          style="@style/wifi_item">
159                <TextView
160                    android:layout_width="wrap_content"
161                    android:layout_height="wrap_content"
162                    style="@style/wifi_item_label"
163                    android:text="@string/please_select_phase2"/>
164
165                <Spinner android:id="@+id/phase2"
166                         android:layout_width="match_parent"
167                         android:layout_height="wrap_content"
168                         style="@style/wifi_item_spinner"
169                         android:prompt="@string/please_select_phase2"/>
170            </LinearLayout>
171
172            <LinearLayout android:id="@+id/l_ca_cert"
173                          android:layout_width="match_parent"
174                          android:layout_height="wrap_content"
175                          android:visibility="gone"
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_ca_cert"/>
182
183                <Spinner android:id="@+id/ca_cert"
184                         android:layout_width="match_parent"
185                         android:layout_height="wrap_content"
186                         style="@style/wifi_item_spinner"
187                         android:prompt="@string/wifi_eap_ca_cert"/>
188            </LinearLayout>
189
190            <LinearLayout android:id="@+id/l_ocsp"
191                          android:layout_width="match_parent"
192                          android:layout_height="wrap_content"
193                          android:visibility="gone"
194                          style="@style/wifi_item">
195                <TextView
196                    android:layout_width="wrap_content"
197                    android:layout_height="wrap_content"
198                    style="@style/wifi_item_label"
199                    android:text="@string/wifi_eap_ocsp"/>
200
201                <Spinner android:id="@+id/ocsp"
202                         android:layout_width="match_parent"
203                         android:layout_height="wrap_content"
204                         style="@style/wifi_item_spinner"
205                         android:prompt="@string/wifi_eap_ocsp"
206                         android:entries="@array/eap_ocsp_type"/>
207            </LinearLayout>
208
209            <LinearLayout android:id="@+id/l_domain"
210                          android:layout_width="match_parent"
211                          android:layout_height="wrap_content"
212                          style="@style/wifi_item">
213                <TextView
214                    android:layout_width="wrap_content"
215                    android:layout_height="wrap_content"
216                    style="@style/wifi_item_label"
217                    android:text="@string/wifi_eap_domain"/>
218
219                <EditText android:id="@+id/domain"
220                          android:layout_width="match_parent"
221                          android:layout_height="wrap_content"
222                          style="@style/wifi_item_edit_content"
223                          android:singleLine="true"
224                          android:inputType="textNoSuggestions"/>
225            </LinearLayout>
226
227            <LinearLayout android:id="@+id/no_domain_warning"
228                          android:layout_width="match_parent"
229                          android:layout_height="wrap_content"
230                          android:visibility="gone"
231                          style="@style/wifi_item">
232                <TextView
233                    android:layout_width="wrap_content"
234                    android:layout_height="wrap_content"
235                    style="@style/wifi_item_warning"
236                    android:text="@string/wifi_no_domain_warning"/>
237            </LinearLayout>
238
239            <LinearLayout android:id="@+id/l_user_cert"
240                          android:layout_width="match_parent"
241                          android:layout_height="wrap_content"
242                          android:visibility="gone"
243                          style="@style/wifi_item">
244                <TextView
245                    android:layout_width="wrap_content"
246                    android:layout_height="wrap_content"
247                    style="@style/wifi_item_label"
248                    android:text="@string/wifi_eap_user_cert"/>
249
250                <Spinner android:id="@+id/user_cert"
251                         android:layout_width="match_parent"
252                         android:layout_height="wrap_content"
253                         style="@style/wifi_item_spinner"
254                         android:prompt="@string/wifi_eap_user_cert"/>
255            </LinearLayout>
256
257            <LinearLayout android:id="@+id/no_user_cert_warning"
258                          android:layout_width="match_parent"
259                          android:layout_height="wrap_content"
260                          android:visibility="gone"
261                          style="@style/wifi_item">
262                <TextView
263                    android:layout_width="wrap_content"
264                    android:layout_height="wrap_content"
265                    style="@style/wifi_item_warning"
266                    android:text="@string/wifi_no_user_cert_warning"/>
267            </LinearLayout>
268
269            <LinearLayout android:id="@+id/l_identity"
270                          android:layout_width="match_parent"
271                          android:layout_height="wrap_content"
272                          android:visibility="gone"
273                          style="@style/wifi_item">
274                <TextView
275                    android:layout_width="wrap_content"
276                    android:layout_height="wrap_content"
277                    style="@style/wifi_item_label"
278                    android:text="@string/wifi_eap_identity"/>
279
280                <EditText android:id="@+id/identity"
281                          android:layout_width="match_parent"
282                          android:layout_height="wrap_content"
283                          style="@style/wifi_item_edit_content"
284                          android:singleLine="true"
285                          android:inputType="textNoSuggestions"/>
286            </LinearLayout>
287
288            <LinearLayout android:id="@+id/l_anonymous"
289                          android:layout_width="match_parent"
290                          android:layout_height="wrap_content"
291                          android:visibility="gone"
292                          style="@style/wifi_item">
293                <TextView
294                    android:layout_width="wrap_content"
295                    android:layout_height="wrap_content"
296                    style="@style/wifi_item_label"
297                    android:text="@string/wifi_eap_anonymous"/>
298
299                <EditText android:id="@+id/anonymous"
300                          android:layout_width="match_parent"
301                          android:layout_height="wrap_content"
302                          style="@style/wifi_item_edit_content"
303                          android:singleLine="true"
304                          android:inputType="textNoSuggestions"/>
305            </LinearLayout>
306        </LinearLayout>
307
308        <LinearLayout android:id="@+id/password_layout"
309                      android:layout_width="match_parent"
310                      android:layout_height="wrap_content"
311                      style="@style/wifi_item">
312            <TextView
313                android:layout_width="wrap_content"
314                android:layout_height="wrap_content"
315                style="@style/wifi_item_label"
316                android:text="@string/wifi_password"/>
317
318            <EditText android:id="@+id/password"
319                      android:layout_width="match_parent"
320                      android:layout_height="wrap_content"
321                      style="@style/wifi_item_edit_content"
322                      android:inputType="textPassword"
323                      android:singleLine="true"/>
324        </LinearLayout>
325
326        <LinearLayout android:id="@+id/show_password_layout"
327                      android:layout_width="match_parent"
328                      android:layout_height="wrap_content"
329                      style="@style/wifi_item">
330            <!--  Placeholder to enable right-justification of checkbox -->
331            <TextView
332                android:layout_width="wrap_content"
333                android:layout_height="wrap_content"
334                style="@style/wifi_item_label"/>
335
336            <CheckBox android:id="@+id/show_password"
337                      android:layout_width="match_parent"
338                      android:layout_height="wrap_content"
339                      style="@style/wifi_item_content"
340                      android:text="@string/wifi_show_password"/>
341        </LinearLayout>
342    </LinearLayout>
343
344    <LinearLayout android:id="@+id/wifi_advanced_toggle"
345                  android:layout_width="match_parent"
346                  android:layout_height="wrap_content"
347                  style="@style/wifi_item"
348                  android:paddingTop="2dp"
349                  android:paddingBottom="4dp"
350                  android:importantForAccessibility="no"
351                  android:visibility="gone">
352        <CheckBox android:id="@+id/wifi_advanced_togglebox"
353                  android:layout_width="match_parent"
354                  android:layout_height="wrap_content"
355                  style="@style/wifi_advanced_toggle"
356                  android:importantForAccessibility="yes"
357                  android:contentDescription="@string/wifi_advanced_toggle_description"
358                  android:text="@string/wifi_show_advanced"/>
359    </LinearLayout>
360
361    <LinearLayout android:id="@+id/wifi_advanced_fields"
362                  android:layout_width="match_parent"
363                  android:layout_height="wrap_content"
364                  android:orientation="vertical"
365                  android:visibility="gone">
366
367        <LinearLayout android:id="@+id/hidden_settings_field"
368                      android:layout_width="match_parent"
369                      android:layout_height="wrap_content"
370                      android:visibility="gone"
371                      style="@style/wifi_item">
372
373            <TextView android:id="@+id/hidden_settings_title"
374                      android:layout_width="wrap_content"
375                      android:layout_height="wrap_content"
376                      style="@style/wifi_item_label"
377                      android:text="@string/wifi_hidden_network"/>
378
379            <Spinner android:id="@+id/hidden_settings"
380                     android:layout_width="match_parent"
381                     android:layout_height="wrap_content"
382                     style="@style/wifi_item_spinner"
383                     android:prompt="@string/wifi_hidden_network"
384                     android:entries="@array/wifi_hidden_entries"/>
385
386            <TextView android:id="@+id/hidden_settings_warning"
387                      android:layout_width="wrap_content"
388                      android:layout_height="wrap_content"
389                      android:padding="8dp"
390                      android:text="@string/wifi_hidden_network_warning"
391                      android:textAppearance="?android:attr/textAppearanceSmall"
392                      android:visibility="gone"/>
393        </LinearLayout>
394
395        <LinearLayout android:id="@+id/metered_settings_fields"
396                      android:layout_width="match_parent"
397                      android:layout_height="wrap_content"
398                      style="@style/wifi_item">
399
400            <TextView android:id="@+id/metered_settings_title"
401                      android:layout_width="wrap_content"
402                      android:layout_height="wrap_content"
403                      style="@style/wifi_item_label"
404                      android:text="@string/data_usage_metered_yes"/>
405
406            <Spinner android:id="@+id/metered_settings"
407                     android:layout_width="match_parent"
408                     android:layout_height="wrap_content"
409                     style="@style/wifi_item_spinner"
410                     android:prompt="@string/data_usage_metered_yes"
411                     android:entries="@array/wifi_metered_entries"/>
412
413        </LinearLayout>
414
415        <LinearLayout android:id="@+id/proxy_settings_fields"
416                      android:layout_width="match_parent"
417                      android:layout_height="wrap_content"
418                      style="@style/wifi_item"
419                      android:visibility="gone">
420
421            <TextView android:id="@+id/proxy_settings_title"
422                      android:layout_width="wrap_content"
423                      android:layout_height="wrap_content"
424                      style="@style/wifi_item_label"
425                      android:text="@string/proxy_settings_title"/>
426
427            <Spinner android:id="@+id/proxy_settings"
428                     android:layout_width="match_parent"
429                     android:layout_height="wrap_content"
430                     style="@style/wifi_item_spinner"
431                     android:prompt="@string/proxy_settings_title"
432                     android:entries="@array/wifi_proxy_settings"/>
433
434        </LinearLayout>
435
436        <LinearLayout android:id="@+id/proxy_warning_limited_support"
437                      android:layout_width="match_parent"
438                      android:layout_height="wrap_content"
439                      style="@style/wifi_item"
440                      android:visibility="gone">
441            <!--  Placeholder to enable right-justification of warning -->
442            <TextView
443                android:layout_width="wrap_content"
444                android:layout_height="wrap_content"
445                style="@style/wifi_item_label"/>
446
447            <TextView
448                android:layout_width="match_parent"
449                android:layout_height="wrap_content"
450                style="@style/wifi_item_content"
451                android:text="@string/proxy_warning_limited_support"/>
452        </LinearLayout>
453
454        <LinearLayout android:id="@+id/proxy_pac_field"
455                      android:layout_width="match_parent"
456                      android:layout_height="wrap_content"
457                      style="@style/wifi_section"
458                      android:visibility="gone">
459            <LinearLayout
460                android:layout_width="match_parent"
461                android:layout_height="wrap_content"
462                style="@style/wifi_item">
463                <TextView
464                    android:layout_width="wrap_content"
465                    android:layout_height="wrap_content"
466                    style="@style/wifi_item_label"
467                    android:text="@string/proxy_url_title"/>
468
469                <EditText android:id="@+id/proxy_pac"
470                          android:layout_width="match_parent"
471                          android:layout_height="wrap_content"
472                          style="@style/wifi_item_edit_content"
473                          android:hint="@string/proxy_url_hint"
474                          android:inputType="textNoSuggestions"
475                          android:singleLine="true"/>
476            </LinearLayout>
477        </LinearLayout>
478        <LinearLayout android:id="@+id/proxy_fields"
479                      android:layout_width="match_parent"
480                      android:layout_height="wrap_content"
481                      style="@style/wifi_section"
482                      android:visibility="gone">
483
484            <LinearLayout
485                android:layout_width="match_parent"
486                android:layout_height="wrap_content"
487                style="@style/wifi_item">
488                <TextView
489                    android:layout_width="wrap_content"
490                    android:layout_height="wrap_content"
491                    style="@style/wifi_item_label"
492                    android:text="@string/proxy_hostname_label"/>
493
494                <EditText android:id="@+id/proxy_hostname"
495                          android:layout_width="match_parent"
496                          android:layout_height="wrap_content"
497                          style="@style/wifi_item_edit_content"
498                          android:hint="@string/proxy_hostname_hint"
499                          android:inputType="textNoSuggestions"
500                          android:singleLine="true"/>
501            </LinearLayout>
502            <LinearLayout
503                android:layout_width="match_parent"
504                android:layout_height="wrap_content"
505                style="@style/wifi_item">
506                <TextView
507                    android:layout_width="wrap_content"
508                    android:layout_height="wrap_content"
509                    style="@style/wifi_item_label"
510                    android:text="@string/proxy_port_label"/>
511
512                <EditText android:id="@+id/proxy_port"
513                          android:layout_width="match_parent"
514                          android:layout_height="wrap_content"
515                          style="@style/wifi_item_edit_content"
516                          android:hint="@string/proxy_port_hint"
517                          android:inputType="number"
518                          android:singleLine="true"/>
519            </LinearLayout>
520            <LinearLayout
521                android:layout_width="match_parent"
522                android:layout_height="wrap_content"
523                style="@style/wifi_item">
524                <TextView
525                    android:layout_width="wrap_content"
526                    android:layout_height="wrap_content"
527                    style="@style/wifi_item_label"
528                    android:text="@string/proxy_exclusionlist_label"/>
529
530                <EditText android:id="@+id/proxy_exclusionlist"
531                          android:layout_width="match_parent"
532                          android:layout_height="wrap_content"
533                          style="@style/wifi_item_edit_content"
534                          android:hint="@string/proxy_exclusionlist_hint"
535                          android:inputType="textNoSuggestions"
536                          android:singleLine="true"/>
537            </LinearLayout>
538        </LinearLayout>
539
540        <LinearLayout android:id="@+id/ip_fields"
541                      android:layout_width="match_parent"
542                      android:layout_height="wrap_content"
543                      style="@style/wifi_item"
544                      android:visibility="gone">
545
546            <TextView
547                android:layout_width="wrap_content"
548                android:layout_height="wrap_content"
549                style="@style/wifi_item_label"
550                android:text="@string/wifi_ip_settings"/>
551
552            <Spinner android:id="@+id/ip_settings"
553                     android:layout_width="match_parent"
554                     android:layout_height="wrap_content"
555                     style="@style/wifi_item_spinner"
556                     android:prompt="@string/wifi_ip_settings"
557                     android:entries="@array/wifi_ip_settings"/>
558
559        </LinearLayout>
560
561        <LinearLayout android:id="@+id/staticip"
562                      android:layout_width="match_parent"
563                      android:layout_height="wrap_content"
564                      style="@style/wifi_section"
565                      android:visibility="gone">
566            <LinearLayout
567                android:layout_width="match_parent"
568                android:layout_height="wrap_content"
569                style="@style/wifi_item">
570                <TextView
571                    android:layout_width="wrap_content"
572                    android:layout_height="wrap_content"
573                    style="@style/wifi_item_label"
574                    android:text="@string/wifi_ip_address"/>
575
576                <EditText android:id="@+id/ipaddress"
577                          android:layout_width="match_parent"
578                          android:layout_height="wrap_content"
579                          style="@style/wifi_item_edit_content"
580                          android:singleLine="true"
581                          android:hint="@string/wifi_ip_address_hint"
582                          android:inputType="textNoSuggestions"/>
583            </LinearLayout>
584
585            <LinearLayout
586                android:layout_width="match_parent"
587                android:layout_height="wrap_content"
588                style="@style/wifi_item">
589                <TextView
590                    android:layout_width="wrap_content"
591                    android:layout_height="wrap_content"
592                    style="@style/wifi_item_label"
593                    android:text="@string/wifi_gateway"/>
594
595                <EditText android:id="@+id/gateway"
596                          android:layout_width="match_parent"
597                          android:layout_height="wrap_content"
598                          style="@style/wifi_item_edit_content"
599                          android:singleLine="true"
600                          android:hint="@string/wifi_gateway_hint"
601                          android:inputType="textNoSuggestions"/>
602            </LinearLayout>
603
604            <LinearLayout
605                android:layout_width="match_parent"
606                android:layout_height="wrap_content"
607                style="@style/wifi_item">
608                <TextView
609                    android:layout_width="wrap_content"
610                    android:layout_height="wrap_content"
611                    style="@style/wifi_item_label"
612                    android:text="@string/wifi_network_prefix_length"/>
613
614                <EditText android:id="@+id/network_prefix_length"
615                          android:layout_width="match_parent"
616                          android:layout_height="wrap_content"
617                          style="@style/wifi_item_edit_content"
618                          android:singleLine="true"
619                          android:hint="@string/wifi_network_prefix_length_hint"
620                          android:inputType="number"/>
621            </LinearLayout>
622            <LinearLayout
623                android:layout_width="match_parent"
624                android:layout_height="wrap_content"
625                style="@style/wifi_item">
626                <TextView
627                    android:layout_width="wrap_content"
628                    android:layout_height="wrap_content"
629                    style="@style/wifi_item_label"
630                    android:text="@string/wifi_dns1"/>
631
632                <EditText android:id="@+id/dns1"
633                          android:layout_width="match_parent"
634                          android:layout_height="wrap_content"
635                          style="@style/wifi_item_edit_content"
636                          android:singleLine="true"
637                          android:hint="@string/wifi_dns1_hint"
638                          android:inputType="textNoSuggestions"/>
639            </LinearLayout>
640
641            <LinearLayout
642                android:layout_width="match_parent"
643                android:layout_height="wrap_content"
644                style="@style/wifi_item">
645                <TextView
646                    android:layout_width="wrap_content"
647                    android:layout_height="wrap_content"
648                    style="@style/wifi_item_label"
649                    android:text="@string/wifi_dns2"/>
650
651                <EditText android:id="@+id/dns2"
652                          android:layout_width="match_parent"
653                          android:layout_height="wrap_content"
654                          style="@style/wifi_item_edit_content"
655                          android:singleLine="true"
656                          android:hint="@string/wifi_dns2_hint"
657                          android:inputType="textNoSuggestions"/>
658            </LinearLayout>
659        </LinearLayout>
660
661        <LinearLayout android:id="@+id/privacy_settings_fields"
662                      android:layout_width="match_parent"
663                      android:layout_height="wrap_content"
664                      style="@style/wifi_item"
665                      android:visibility="gone">
666
667            <TextView android:id="@+id/privacy_settings_title"
668                      android:layout_width="wrap_content"
669                      android:layout_height="wrap_content"
670                      style="@style/wifi_item_label"
671                      android:text="@string/wifi_privacy_settings"/>
672
673            <Spinner android:id="@+id/privacy_settings"
674                     android:layout_width="match_parent"
675                     android:layout_height="wrap_content"
676                     style="@style/wifi_item_spinner"
677                     android:prompt="@string/wifi_privacy_settings"
678                     android:entries="@array/wifi_privacy_entries"/>
679        </LinearLayout>
680
681        <LinearLayout
682            android:layout_width="match_parent"
683            android:layout_height="wrap_content"
684            style="@style/wifi_section">
685            <LinearLayout
686                android:layout_width="match_parent"
687                android:layout_height="wrap_content"
688                style="@style/wifi_item">
689                <CheckBox android:id="@+id/shared"
690                          android:layout_width="match_parent"
691                          android:layout_height="wrap_content"
692                          style="@style/wifi_item_content"
693                          android:textSize="14sp"
694                          android:text="@string/wifi_shared"
695                          android:checked="true"/>
696            </LinearLayout>
697        </LinearLayout>
698    </LinearLayout>
699</LinearLayout>
700