1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:fitsSystemWindows="true"> 21 22 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent"> 25 26 <LinearLayout 27 style="@style/info_layout" 28 android:orientation="vertical"> 29 30 <TextView 31 style="@style/info_label" 32 android:text="@string/oldPinLabel"/> 33 34 <EditText android:id="@+id/old_pin" 35 android:maxLines="1" 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:scrollHorizontally="true" 39 android:autoText="false" 40 android:capitalize="none" 41 android:password="true"/> 42 43 <TextView android:id="@+id/bad_pin" 44 android:textSize="12sp" 45 android:textColor="#FF888888" 46 android:visibility="gone" 47 android:text="@string/badPin" 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:paddingStart="10dip" 51 android:paddingTop="1dip" 52 android:paddingEnd="5dip" 53 android:paddingBottom="1dip"/> 54 55 <TextView 56 style="@style/info_label" 57 android:text="@string/newPinLabel"/> 58 59 <EditText android:id="@+id/new_pin1" 60 android:maxLines="1" 61 android:layout_width="match_parent" 62 android:layout_height="wrap_content" 63 android:scrollHorizontally="true" 64 android:autoText="false" 65 android:capitalize="none" 66 android:password="true"/> 67 68 <TextView 69 style="@style/info_label" 70 android:text="@string/confirmPinLabel"/> 71 72 <EditText android:id="@+id/new_pin2" 73 android:maxLines="1" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:scrollHorizontally="true" 77 android:autoText="false" 78 android:capitalize="none" 79 android:password="true"/> 80 81 <TextView android:id="@+id/mismatch" 82 android:textSize="12sp" 83 android:textColor="#FF888888" 84 android:visibility="gone" 85 android:text="@string/mismatchPin" 86 android:layout_width="match_parent" 87 android:layout_height="wrap_content" 88 android:paddingStart="10dip" 89 android:paddingTop="1dip" 90 android:paddingEnd="5dip" 91 android:paddingBottom="1dip"/> 92 93 <Button android:id="@+id/button" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" 96 android:text="@string/doneButton"/> 97 98 </LinearLayout> 99 100 </ScrollView> 101 102 <LinearLayout 103 android:id="@+id/puk_panel" 104 style="@style/info_layout" 105 android:visibility="gone" 106 android:orientation="vertical"> 107 108 <TextView 109 style="@style/info_label" 110 android:text="@string/label_puk2_code"/> 111 112 <EditText android:id="@+id/puk_code" 113 android:maxLines="1" 114 android:layout_width="match_parent" 115 android:layout_height="wrap_content" 116 android:scrollHorizontally="true" 117 android:autoText="false" 118 android:capitalize="none" 119 android:password="true"/> 120 121 <Button android:id="@+id/puk_submit" 122 android:layout_width="wrap_content" 123 android:layout_height="wrap_content" 124 android:text="@string/doneButton"/> 125 </LinearLayout> 126</RelativeLayout> 127