keyguard_status_view.xml revision 0ff7f010f8bfd011f0915031b02739ae3bee401e
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 a view that shows general status information in Keyguard. --> 21<com.android.internal.policy.impl.keyguard.KeyguardWidgetFrame 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:id="@+id/keyguard_status_view" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:gravity="center_horizontal"> 27 28 <com.android.internal.policy.impl.keyguard.KeyguardStatusView 29 android:id="@+id/keyguard_status_view_face_palm" 30 android:orientation="vertical" 31 android:layout_width="match_parent" 32 android:layout_height="match_parent" 33 android:gravity="center_horizontal|top" 34 android:contentDescription="@*android:string/keyguard_accessibility_status"> 35 36 <com.android.internal.policy.impl.keyguard.ClockView 37 android:id="@+id/clock_view" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:layout_marginTop="@dimen/kg_clock_top_margin" 41 android:layout_marginEnd="@dimen/kg_status_line_font_right_margin" 42 android:layout_gravity="right"> 43 44 <TextView android:id="@+id/clock_text" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:singleLine="true" 48 android:ellipsize="none" 49 android:textSize="@dimen/kg_status_clock_font_size" 50 android:textAppearance="?android:attr/textAppearanceMedium" 51 android:textColor="#ffffffff" 52 android:drawablePadding="2dip" 53 /> 54 55 </com.android.internal.policy.impl.keyguard.ClockView> 56 57 <include layout="@layout/keyguard_status_area" /> 58 59 </com.android.internal.policy.impl.keyguard.KeyguardStatusView> 60</com.android.internal.policy.impl.keyguard.KeyguardWidgetFrame> 61