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