Andres Morales | ef7a40a | 2014-01-06 10:24:28 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Andres Morales | ae04155 | 2014-05-15 10:33:04 -0700 | [diff] [blame] | 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 | --> |
Andres Morales | ef7a40a | 2014-01-06 10:24:28 -0800 | [diff] [blame] | 17 | |
Lei Yang | 58fca63 | 2017-02-13 10:39:29 +0800 | [diff] [blame] | 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"> |
Andres Morales | ef7a40a | 2014-01-06 10:24:28 -0800 | [diff] [blame] | 23 | |
Lei Yang | 58fca63 | 2017-02-13 10:39:29 +0800 | [diff] [blame] | 24 | <LinearLayout |
Andres Morales | 9246b06 | 2014-07-01 11:51:46 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
Andres Morales | ef7a40a | 2014-01-06 10:24:28 -0800 | [diff] [blame] | 26 | android:layout_height="wrap_content" |
Lei Yang | 58fca63 | 2017-02-13 10:39:29 +0800 | [diff] [blame] | 27 | style="@style/wifi_section"> |
Andres Morales | ef7a40a | 2014-01-06 10:24:28 -0800 | [diff] [blame] | 28 | |
Lei Yang | 58fca63 | 2017-02-13 10:39:29 +0800 | [diff] [blame] | 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> |