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.KeyguardStatusView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:androidprv="http://schemas.android.com/apk/res-auto" 24 android:id="@+id/keyguard_status_view" 25 android:orientation="vertical" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:gravity="center_horizontal|top"> 29 <LinearLayout 30 android:id="@+id/status_view_container" 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:clipChildren="false" 34 android:clipToPadding="false" 35 android:orientation="vertical"> 36 <TextView 37 android:id="@+id/logout" 38 android:layout_height="@dimen/logout_button_layout_height" 39 android:layout_width="wrap_content" 40 android:layout_gravity="center_horizontal" 41 android:layout_centerHorizontal="true" 42 android:layout_marginBottom="@dimen/logout_button_margin_bottom" 43 android:gravity="center" 44 android:paddingLeft="@dimen/logout_button_padding_horizontal" 45 android:paddingRight="@dimen/logout_button_padding_horizontal" 46 android:background="@drawable/logout_button_background" 47 android:fontFamily="@*android:string/config_bodyFontFamilyMedium" 48 android:textAllCaps="true" 49 android:textColor="?android:attr/textColorPrimary" 50 android:textSize="13sp" 51 android:text="@*android:string/global_action_logout" /> 52 53 <include 54 layout="@layout/keyguard_clock_switch" 55 android:id="@+id/keyguard_clock_container" 56 android:layout_width="match_parent" 57 android:layout_height="wrap_content" /> 58 59 <TextView 60 android:id="@+id/owner_info" 61 android:layout_marginLeft="16dp" 62 android:layout_marginRight="16dp" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:layout_marginTop="@dimen/date_owner_info_margin" 66 android:layout_gravity="center_horizontal" 67 android:layout_centerHorizontal="true" 68 android:textColor="?attr/wallpaperTextColorSecondary" 69 android:textSize="@dimen/widget_label_font_size" 70 android:letterSpacing="0.05" 71 android:ellipsize="marquee" 72 android:singleLine="true" /> 73 <com.android.systemui.statusbar.phone.NotificationIconContainer 74 android:id="@+id/clock_notification_icon_container" 75 android:layout_width="match_parent" 76 android:layout_height="@dimen/notification_shelf_height" 77 android:layout_marginTop="@dimen/widget_vertical_padding" 78 /> 79 </LinearLayout> 80</com.android.keyguard.KeyguardStatusView> 81