summaryrefslogtreecommitdiff
path: root/res/layout/change_sim_pin_screen.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/change_sim_pin_screen.xml')
-rw-r--r--res/layout/change_sim_pin_screen.xml125
1 files changed, 125 insertions, 0 deletions
diff --git a/res/layout/change_sim_pin_screen.xml b/res/layout/change_sim_pin_screen.xml
new file mode 100644
index 00000000..8c943e1b
--- /dev/null
+++ b/res/layout/change_sim_pin_screen.xml
@@ -0,0 +1,125 @@
+<?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:paddingStart="10dip"
+ android:paddingTop="1dip"
+ android:paddingEnd="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:paddingStart="10dip"
+ android:paddingTop="1dip"
+ android:paddingEnd="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>