OSDN Git Service

Merge "Add backup configuration action to Privacy settings"
[android-x86/packages-apps-Settings.git] / res / layout-xlarge-land / choose_lock_password.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 **
4 ** Copyright 2008, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License")
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0
11 **
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
17 */
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     android:layout_width="fill_parent"
21     android:layout_height="fill_parent"
22     android:orientation="vertical"
23     android:gravity="center_horizontal">
24
25     <LinearLayout
26         android:layout_width="match_parent"
27         android:layout_height="wrap_content"
28         android:orientation="horizontal">
29
30         <!-- "Enter PIN(Password) to unlock" -->
31         <TextView android:id="@+id/headerText"
32             android:layout_width="0dip"
33             android:layout_height="wrap_content"
34             android:layout_weight="1"
35             android:orientation="horizontal"
36             android:layout_marginRight="6dip"
37             android:layout_marginLeft="6dip"
38             android:layout_marginTop="10dip"
39             android:layout_marginBottom="10dip"
40             android:gravity="left"
41             android:ellipsize="marquee"
42             android:textAppearance="?android:attr/textAppearanceLarge"
43         />
44
45         <!-- Password entry field -->
46         <EditText android:id="@+id/password_entry"
47             android:layout_width="0dip"
48             android:layout_height="wrap_content"
49             android:layout_weight="1"
50             android:singleLine="true"
51             android:textStyle="bold"
52             android:inputType="textPassword"
53             android:gravity="center"
54             android:layout_gravity="center"
55             android:textSize="24sp"
56             android:layout_marginTop="5dip"
57             android:layout_marginBottom="5dip"
58             android:textAppearance="?android:attr/textAppearanceLarge"
59             android:background="@drawable/password_field_default"
60             android:textColor="#ffffffff"
61         />
62     </LinearLayout>
63
64     <!-- Spacer between password entry and keyboard -->
65     <View
66         android:layout_width="match_parent"
67         android:layout_height="0dip"
68         android:layout_weight="1" />
69
70     <!-- Alphanumeric keyboard -->
71     <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
72         android:layout_alignParentBottom="true"
73         android:layout_width="match_parent"
74         android:layout_height="wrap_content"
75         android:background="#00000000"
76         android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans"
77         android:visibility="gone"
78     />
79
80     <RelativeLayout
81         android:layout_width="match_parent"
82         android:layout_height="0dip"
83         android:layout_weight="1">
84
85         <Button android:id="@+id/cancel_button"
86             android:layout_height="wrap_content"
87             android:layout_width="140dip"
88             android:ellipsize="marquee"
89             android:singleLine="true"
90             android:layout_alignParentBottom="true"
91             android:layout_toLeftOf="@id/next_button"
92             android:text="@string/lockpassword_cancel_label"
93         />
94
95         <Button android:id="@+id/next_button"
96             android:layout_width="140dip"
97             android:layout_height="wrap_content"
98             android:ellipsize="marquee"
99             android:singleLine="true"
100             android:layout_alignParentRight="true"
101             android:layout_alignParentBottom="true"
102             android:text="@string/lockpassword_continue_label"
103         />
104
105     </RelativeLayout>
106
107 </LinearLayout>
108
109