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