keyguard_screen_password_portrait.xml revision 8171b5182f5f07d33c9dfdf2dd8f0f6ae9588039
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 <!-- "Enter PIN(Password) to unlock" --> 27 <TextView android:id="@+id/status1" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:orientation="horizontal" 31 android:layout_marginRight="6dip" 32 android:layout_marginLeft="6dip" 33 android:layout_marginTop="10dip" 34 android:layout_marginBottom="10dip" 35 android:gravity="center" 36 android:text="@android:string/keyguard_password_enter_password_code" 37 android:textAppearance="?android:attr/textAppearanceLarge" 38 /> 39 40 <!-- spacer above text entry field --> 41 <View 42 android:id="@+id/spacerBottom" 43 android:layout_width="fill_parent" 44 android:layout_height="1dip" 45 android:layout_marginTop="6dip" 46 android:background="@android:drawable/divider_horizontal_dark" 47 /> 48 49 <!-- Password entry field --> 50 <EditText android:id="@+id/passwordEntry" 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:singleLine="true" 54 android:textStyle="bold" 55 android:inputType="textPassword" 56 android:gravity="center" 57 android:layout_gravity="center" 58 android:textSize="32sp" 59 android:layout_marginTop="15dip" 60 android:layout_marginLeft="30dip" 61 android:layout_marginRight="30dip" 62 android:textAppearance="?android:attr/textAppearanceLarge" 63 android:background="@drawable/password_field_default" 64 android:textColor="#ffffffff" 65 /> 66 67 <View 68 android:layout_width="match_parent" 69 android:layout_height="0dip" 70 android:layout_weight="1" /> 71 72 <!-- Alphanumeric keyboard --> 73 <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard" 74 android:layout_alignParentBottom="true" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:background="#00000000" 78 android:keyBackground="@drawable/btn_keyboard_key_fulltrans" 79 /> 80 81 <!-- emergency call button --> 82 <Button 83 android:id="@+id/emergencyCall" 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 android:drawableLeft="@drawable/ic_emergency" 87 android:drawablePadding="8dip" 88 android:layout_marginTop="20dip" 89 android:layout_marginBottom="20dip" 90 android:text="@string/lockscreen_emergency_call" 91 style="@style/Widget.Button.Transparent" 92 /> 93</LinearLayout> 94