| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2007 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <LinearLayout |
| style="@style/info_layout" |
| android:orientation="vertical"> |
| |
| <TextView |
| style="@style/info_label" |
| android:text="@string/oldPinLabel"/> |
| |
| <EditText android:id="@+id/old_pin" |
| android:maxLines="1" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scrollHorizontally="true" |
| android:autoText="false" |
| android:capitalize="none" |
| android:password="true"/> |
| |
| <TextView android:id="@+id/bad_pin" |
| android:textSize="12sp" |
| android:textColor="#FF888888" |
| android:visibility="gone" |
| android:text="@string/badPin" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingLeft="10dip" |
| android:paddingTop="1dip" |
| android:paddingRight="5dip" |
| android:paddingBottom="1dip"/> |
| |
| <TextView |
| style="@style/info_label" |
| android:text="@string/newPinLabel"/> |
| |
| <EditText android:id="@+id/new_pin1" |
| android:maxLines="1" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scrollHorizontally="true" |
| android:autoText="false" |
| android:capitalize="none" |
| android:password="true"/> |
| |
| <TextView |
| style="@style/info_label" |
| android:text="@string/confirmPinLabel"/> |
| |
| <EditText android:id="@+id/new_pin2" |
| android:maxLines="1" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scrollHorizontally="true" |
| android:autoText="false" |
| android:capitalize="none" |
| android:password="true"/> |
| |
| <TextView android:id="@+id/mismatch" |
| android:textSize="12sp" |
| android:textColor="#FF888888" |
| android:visibility="gone" |
| android:text="@string/mismatchPin" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingLeft="10dip" |
| android:paddingTop="1dip" |
| android:paddingRight="5dip" |
| android:paddingBottom="1dip"/> |
| |
| <Button android:id="@+id/button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/doneButton"/> |
| |
| </LinearLayout> |
| |
| </ScrollView> |
| |
| <LinearLayout |
| android:id="@+id/puk_panel" |
| style="@style/info_layout" |
| android:visibility="gone" |
| android:orientation="vertical"> |
| |
| <TextView |
| style="@style/info_label" |
| android:text="@string/label_puk2_code"/> |
| |
| <EditText android:id="@+id/puk_code" |
| android:maxLines="1" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scrollHorizontally="true" |
| android:autoText="false" |
| android:capitalize="none" |
| android:password="true"/> |
| |
| <Button android:id="@+id/puk_submit" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/doneButton"/> |
| </LinearLayout> |
| </RelativeLayout> |