keyguard_screen_tab_unlock_land.xml revision 629520527efe5f404b64e95aff01a81886e55eb3
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2009, 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 20<!-- This is the general lock screen which shows information about the 21 state of the device, as well as instructions on how to get past it 22 depending on the state of the device.--> 23<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 24 xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 android:orientation="horizontal" 28 android:background="#70000000" 29 android:id="@+id/root"> 30 31 <!-- left side --> 32 <RelativeLayout 33 android:layout_width="0dip" 34 android:layout_height="match_parent" 35 android:layout_weight="1.0" 36 android:layout_marginLeft="24dip" 37 android:gravity="left"> 38 39 <TextView 40 android:id="@+id/carrier" 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 android:layout_alignParentTop="true" 44 android:layout_marginTop="20dip" 45 android:singleLine="true" 46 android:ellipsize="marquee" 47 android:gravity="right|bottom" 48 android:textAppearance="?android:attr/textAppearanceMedium" 49 android:textSize="22sp" 50 /> 51 52 <!-- "emergency calls only" shown when sim is missing or PUKd --> 53 <TextView 54 android:id="@+id/emergencyCallText" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:layout_alignParentTop="true" 58 android:layout_marginTop="20dip" 59 android:text="@string/emergency_calls_only" 60 android:textAppearance="?android:attr/textAppearanceSmall" 61 android:textColor="@color/white" 62 /> 63 64 <com.android.internal.widget.DigitalClock android:id="@+id/time" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:layout_below="@id/carrier" 68 android:layout_marginTop="56dip" 69 android:layout_marginBottom="8dip" 70 > 71 72 <TextView android:id="@+id/timeDisplay" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:singleLine="true" 76 android:ellipsize="none" 77 android:textSize="72sp" 78 android:textAppearance="?android:attr/textAppearanceMedium" 79 android:shadowColor="#C0000000" 80 android:shadowDx="0" 81 android:shadowDy="0" 82 android:shadowRadius="3.0" 83 android:layout_marginBottom="6dip" 84 /> 85 86 87 <TextView android:id="@+id/am_pm" 88 android:layout_width="wrap_content" 89 android:layout_height="wrap_content" 90 android:layout_toRightOf="@id/timeDisplay" 91 android:layout_alignBaseline="@id/timeDisplay" 92 android:singleLine="true" 93 android:ellipsize="none" 94 android:textSize="22sp" 95 android:layout_marginLeft="8dip" 96 android:textAppearance="?android:attr/textAppearanceMedium" 97 android:shadowColor="#C0000000" 98 android:shadowDx="0" 99 android:shadowDy="0" 100 android:shadowRadius="3.0" 101 /> 102 103 </com.android.internal.widget.DigitalClock> 104 105 <TextView 106 android:id="@+id/date" 107 android:layout_width="wrap_content" 108 android:layout_height="wrap_content" 109 android:layout_below="@id/time" 110 android:layout_marginTop="6dip" 111 android:textAppearance="?android:attr/textAppearanceMedium" 112 /> 113 114 <TextView 115 android:id="@+id/status1" 116 android:layout_width="wrap_content" 117 android:layout_height="wrap_content" 118 android:layout_below="@id/date" 119 android:layout_marginTop="6dip" 120 android:textAppearance="?android:attr/textAppearanceMedium" 121 android:drawablePadding="4dip" 122 /> 123 124 <TextView 125 android:id="@+id/status2" 126 android:layout_width="wrap_content" 127 android:layout_height="wrap_content" 128 android:layout_below="@id/status1" 129 android:layout_marginTop="6dip" 130 android:textAppearance="?android:attr/textAppearanceMedium" 131 android:drawablePadding="4dip" 132 /> 133 134 <TextView 135 android:id="@+id/screenLocked" 136 android:layout_width="wrap_content" 137 android:layout_height="wrap_content" 138 android:layout_below="@id/status2" 139 android:textAppearance="?android:attr/textAppearanceMedium" 140 android:gravity="center" 141 android:layout_marginTop="12dip" 142 android:drawablePadding="4dip" 143 /> 144 145 </RelativeLayout> 146 147 <!-- right side --> 148 <com.android.internal.widget.SlidingTab 149 android:id="@+id/tab_selector" 150 android:orientation="vertical" 151 android:layout_width="wrap_content" 152 android:layout_height="match_parent" 153 android:layout_marginRight="80dip" 154 /> 155 156</LinearLayout> 157