keyguard_screen_password_landscape.xml revision 280b6023cb77be1cd18f20c0c6a169eba1ed35dc
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="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical"
23    android:background="#70000000"
24    android:gravity="center_horizontal">
25
26    <LinearLayout
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content"
29        android:orientation="horizontal">
30        <!-- "Enter PIN(Password) to unlock" -->
31        <TextView android:id="@+id/enter_password_label"
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:text="@android:string/keyguard_password_enter_password_code"
43            android:textAppearance="?android:attr/textAppearanceLarge"
44        />
45
46        <!-- Password entry field -->
47        <EditText android:id="@+id/passwordEntry"
48            android:layout_width="0dip"
49            android:layout_height="wrap_content"
50            android:layout_weight="1"
51            android:singleLine="true"
52            android:textStyle="bold"
53            android:inputType="textPassword"
54            android:gravity="center"
55            android:layout_gravity="center"
56            android:textSize="24sp"
57            android:textAppearance="?android:attr/textAppearanceLarge"
58            android:background="@drawable/password_field_default"
59            android:textColor="#ffffffff"
60        />
61    </LinearLayout>
62
63    <!-- Alphanumeric keyboard -->
64    <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
65        android:layout_alignParentBottom="true"
66        android:layout_width="match_parent"
67        android:layout_height="wrap_content"
68        android:background="#00000000"
69        android:keyBackground="@drawable/btn_keyboard_key_fulltrans"
70    />
71
72    <!-- emergency call button -->
73    <Button
74        android:id="@+id/emergencyCall"
75        android:layout_width="wrap_content"
76        android:layout_height="wrap_content"
77        android:drawableLeft="@drawable/ic_emergency"
78        android:drawablePadding="8dip"
79        android:text="@string/lockscreen_emergency_call"
80        style="@style/Widget.Button.Transparent"
81    />
82
83</LinearLayout>
84