• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="fill_parent"
19    android:layout_height="fill_parent"
20    android:paddingLeft="20dip"
21    android:paddingRight="20dip">
22
23    <LinearLayout
24            android:id="@+id/simPINPane"
25            android:orientation="vertical"
26            android:layout_width="wrap_content"
27            android:layout_height="wrap_content"
28            android:layout_centerInParent="true">
29
30        <TextView
31            android:id="@+id/failure"
32            android:visibility="gone"
33            android:textSize="20sp"
34            android:textStyle="bold"
35            android:textColor="#FFFFFFFF"
36            android:layout_width="wrap_content"
37            android:layout_height="wrap_content"
38        />
39
40        <TextView
41            android:id="@+id/label"
42            android:textSize="18sp"
43            android:textColor="#FFFFFFFF"
44            android:layout_width="wrap_content"
45            android:layout_height="wrap_content"
46         />
47
48        <EditText android:id="@+id/entry"
49            android:textSize="18sp"
50            android:textColor="#FF000000"
51            android:maxLines="1"
52            android:layout_marginTop="8dip"
53            android:capitalize="none"
54            android:autoText="false"
55            android:layout_width="fill_parent"
56            android:layout_height="wrap_content"
57            android:scrollHorizontally="true"
58            android:password="true" />
59
60        <RelativeLayout
61            android:layout_marginTop="10dip"
62            android:layout_width="wrap_content"
63            android:layout_height="wrap_content" >
64
65            <Button android:id="@+id/unlock"
66                android:textSize="16sp"
67                android:textColor="#FF000000"
68                android:gravity="center_horizontal"
69                android:text="@string/sim_unlock_unlock_text"
70                android:layout_width="150dip"
71                android:layout_height="wrap_content"
72                android:layout_centerHorizontal="true" />
73
74            <Button android:id="@+id/dismiss"
75                android:textSize="16sp"
76                android:textColor="#FF000000"
77                android:gravity="center_horizontal"
78                android:text="@string/sim_unlock_dismiss_text"
79                android:layout_marginTop="3dip"
80                android:layout_width="150dip"
81                android:layout_height="wrap_content"
82                android:layout_centerHorizontal="true"
83                android:layout_below="@id/unlock"/>
84        </RelativeLayout>
85
86    </LinearLayout>
87
88    <LinearLayout android:id="@+id/progress"
89            android:orientation="vertical"
90            android:visibility="gone"
91            android:layout_width="wrap_content"
92            android:layout_height="wrap_content"
93            android:layout_centerInParent="true">
94
95        <TextView android:id="@+id/status"
96            android:textSize="18sp"
97            android:textStyle="bold"
98            android:layout_width="fill_parent"
99            android:layout_height="wrap_content"
100            android:textColor="#FFFFFFFF"
101            android:text="@string/sim_unlock_status_text" />
102    </LinearLayout>
103</RelativeLayout>
104