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