1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2014 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 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:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 style="@style/wifi_section"> 28 29 <LinearLayout android:id="@+id/password_layout" 30 style="@style/wifi_item" 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:padding="8dip" 34 android:orientation="vertical" > 35 36 <TextView 37 android:id="@+id/password_label" 38 style="?android:attr/textAppearanceSmall" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:layout_marginTop="4dip" 42 android:text="@string/wifi_password" /> 43 44 <EditText android:id="@+id/password" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:singleLine="true" 48 android:password="true" 49 android:maxLength="63" 50 android:imeOptions="flagForceAscii" /> 51 <TextView 52 style="@style/wifi_item_label" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" /> 55 56 <CheckBox android:id="@+id/show_password" 57 style="@style/wifi_item_content" 58 android:textSize="14sp" 59 android:text="@string/wifi_show_password" 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" /> 62 63 </LinearLayout> 64 65 66 <ProgressBar 67 android:id="@+id/progress_bar" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:layout_gravity="center_vertical|center_horizontal" 71 android:padding="8dip" 72 android:visibility="gone" 73 style="@android:style/Widget.ProgressBar.Large" /> 74 75 </LinearLayout> 76</ScrollView> 77