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.keyguard.KeyguardWidgetFrame 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard" 24 android:id="@+id/keyguard_status_view" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 androidprv:layout_maxWidth="@dimen/keyguard_security_width" 28 androidprv:layout_maxHeight="@dimen/keyguard_security_height" 29 android:gravity="center"> 30 31 <com.android.keyguard.KeyguardStatusView 32 android:id="@+id/keyguard_status_view_face_palm" 33 android:orientation="vertical" 34 android:layout_width="match_parent" 35 android:layout_height="match_parent" 36 android:gravity="center_horizontal|top" 37 android:contentDescription="@string/keyguard_accessibility_status"> 38 <LinearLayout 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:layout_gravity="center_horizontal|top" 42 android:orientation="vertical" 43 android:focusable="true"> 44 <TextClock 45 android:id="@+id/clock_view" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:layout_gravity="center_horizontal|top" 49 android:textColor="@color/clock_white" 50 android:singleLine="true" 51 style="@style/widget_big_thin" 52 android:format12Hour="@string/keyguard_widget_12_hours_format" 53 android:format24Hour="@string/keyguard_widget_24_hours_format" 54 android:baselineAligned="true" 55 android:layout_marginBottom="@dimen/bottom_text_spacing_digital" /> 56 57 <include layout="@layout/keyguard_status_area" /> 58 </LinearLayout> 59 </com.android.keyguard.KeyguardStatusView> 60 </com.android.keyguard.KeyguardWidgetFrame> 61