keyguard_screen_status_land.xml revision faed16030df5221f790a4d6fd5bdfb592db977fa
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2010, 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<!-- Status to show on the left side of lock screen --> 21<LinearLayout 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:orientation="vertical" 24 android:layout_width="wrap_content" 25 android:layout_height="wrap_content" 26 android:gravity="right"> 27 28 <TextView 29 android:id="@+id/carrier" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:textAppearance="?android:attr/textAppearanceMedium" 33 android:textSize="16sp" 34 android:drawablePadding="4dip" 35 android:layout_marginTop="32dip" 36 android:singleLine="true" 37 android:ellipsize="marquee" 38 android:visibility="gone" 39 /> 40 41 <com.android.internal.widget.DigitalClock android:id="@+id/time" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:layout_marginTop="8dip" 45 android:layout_marginBottom="8dip" 46 > 47 48 <!-- Because we can't have multi-tone fonts, we render two TextViews, one on 49 top of the other. Hence the redundant layout... --> 50 <TextView android:id="@+id/timeDisplayBackground" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:singleLine="true" 54 android:ellipsize="none" 55 android:textSize="@dimen/keyguard_pattern_unlock_clock_font_size" 56 android:textAppearance="?android:attr/textAppearanceMedium" 57 android:textColor="@color/lockscreen_clock_background" 58 android:layout_marginBottom="6dip" 59 /> 60 61 <TextView android:id="@+id/timeDisplayForeground" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:singleLine="true" 65 android:ellipsize="none" 66 android:textSize="@dimen/keyguard_pattern_unlock_clock_font_size" 67 android:textAppearance="?android:attr/textAppearanceMedium" 68 android:textColor="@color/lockscreen_clock_foreground" 69 android:layout_alignLeft="@id/timeDisplayBackground" 70 android:layout_alignTop="@id/timeDisplayBackground" 71 android:layout_marginBottom="6dip" 72 /> 73 74 </com.android.internal.widget.DigitalClock> 75 76 <LinearLayout 77 android:orientation="horizontal" 78 android:layout_width="wrap_content" 79 android:layout_height="wrap_content" 80 android:layout_below="@id/time" 81 android:layout_marginTop="10dip"> 82 83 <TextView 84 android:id="@+id/date" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:textAppearance="?android:attr/textAppearanceMedium" 88 android:textSize="16sp"/> 89 90 <TextView 91 android:id="@+id/alarm_status" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content" 94 android:layout_marginLeft="16dip" 95 android:textAppearance="?android:attr/textAppearanceMedium" 96 android:drawablePadding="4dip" 97 android:textSize="16sp"/> 98 99 </LinearLayout> 100 101 <!-- Status1 is generally battery status and informational messages --> 102 <TextView 103 android:id="@+id/status1" 104 android:layout_width="wrap_content" 105 android:layout_height="wrap_content" 106 android:layout_marginTop="10dip" 107 android:textSize="16sp" 108 android:textAppearance="?android:attr/textAppearanceMedium" 109 /> 110 111 <TextView 112 android:id="@+id/propertyOf" 113 android:lineSpacingExtra="8dip" 114 android:layout_width="wrap_content" 115 android:layout_height="wrap_content" 116 android:textAppearance="?android:attr/textAppearanceMedium" 117 android:textSize="16sp" 118 android:layout_marginTop="20dip" 119 android:singleLine="false" 120 android:textColor="@color/lockscreen_owner_info" 121 android:visibility="invisible" 122 /> 123</LinearLayout> 124