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<!-- Layout for the Phone app's IccNetworkDepersonalizationPanel. -->
18<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19        android:layout_width="match_parent"
20        android:layout_height="match_parent"
21        android:paddingStart="20dip"
22        android:paddingEnd="20dip">
23
24    <LinearLayout
25            android:id="@+id/entry_panel"
26            android:orientation="vertical"
27            android:layout_width="wrap_content"
28            android:layout_height="wrap_content"
29            android:layout_centerInParent="true">
30
31        <TextView
32                android:textAppearance="?android:attr/textAppearanceMedium"
33                android:layout_width="wrap_content"
34                android:layout_height="wrap_content"
35                android:text="@string/label_ndp"/>
36
37        <EditText android:id="@+id/pin_entry"
38                android:inputType="textPassword"
39                android:imeOptions="actionDone"
40                android:layout_marginTop="8dip"
41                android:layout_width="match_parent"
42                android:layout_height="wrap_content"
43                android:scrollHorizontally="true" />
44
45        <Button android:id="@+id/ndp_unlock"
46                android:layout_gravity="center_horizontal"
47                android:text="@string/sim_ndp_unlock_text"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content"
50                android:paddingStart="20dip"
51                android:paddingEnd="20dip" />
52
53        <!-- Dismiss button.  (Not present in some products; see
54             sim_network_unlock_allow_dismiss in config.xml.) -->
55        <Button android:id="@+id/ndp_dismiss"
56                android:layout_gravity="center_horizontal"
57                android:text="@string/sim_ndp_dismiss_text"
58                android:layout_width="wrap_content"
59                android:layout_height="wrap_content"
60                android:paddingStart="20dip"
61                android:paddingEnd="20dip" />
62
63    </LinearLayout>
64
65    <LinearLayout android:id="@+id/status_panel"
66            android:orientation="vertical"
67            android:visibility="gone"
68            android:layout_width="wrap_content"
69            android:layout_height="wrap_content"
70            android:layout_centerInParent="true"
71            android:colorBackground="#80808080"
72            android:panelColorBackground="#fff">
73
74        <TextView android:id="@+id/status_text"
75            android:textAppearance="?android:attr/textAppearanceMedium"
76            android:textStyle="bold"
77            android:layout_width="match_parent"
78            android:layout_height="wrap_content"
79            android:colorBackground="#80808080"
80            android:text="@string/requesting_unlock" />
81    </LinearLayout>
82
83</RelativeLayout>
84