1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2014 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17 18<!-- Extends RelativeLayout --> 19<com.android.systemui.statusbar.phone.KeyguardStatusBarView 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 xmlns:systemui="http://schemas.android.com/apk/res-auto" 22 android:id="@+id/keyguard_header" 23 android:layout_width="match_parent" 24 android:layout_height="@dimen/status_bar_header_height_keyguard" 25 android:baselineAligned="false" 26 > 27 28 <LinearLayout 29 android:id="@+id/status_icon_area" 30 android:layout_width="wrap_content" 31 android:layout_height="match_parent" 32 android:layout_marginStart="@dimen/system_icons_super_container_margin_start" 33 android:paddingTop="@dimen/status_bar_padding_top" 34 android:layout_alignParentEnd="true" 35 android:gravity="center_vertical|end" > 36 37 <include 38 android:id="@+id/user_switcher_container" 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:layout_marginEnd="@dimen/status_bar_user_chip_end_margin" 42 layout="@layout/status_bar_user_chip_container" /> 43 44 <FrameLayout android:id="@+id/system_icons_container" 45 android:layout_width="wrap_content" 46 android:layout_height="match_parent" 47 android:layout_marginEnd="@dimen/status_bar_padding_end" 48 android:gravity="center_vertical|end"> 49 <include layout="@layout/system_icons" 50 android:layout_gravity="center_vertical" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" /> 53 </FrameLayout> 54 55 <ImageView android:id="@+id/multi_user_avatar" 56 android:layout_width="@dimen/multi_user_avatar_keyguard_size" 57 android:layout_height="@dimen/multi_user_avatar_keyguard_size" 58 android:layout_gravity="center" 59 android:scaleType="centerInside"/> 60 </LinearLayout> 61 62 <Space 63 android:id="@+id/cutout_space_view" 64 android:layout_width="0dp" 65 android:layout_height="match_parent" 66 android:gravity="center" 67 android:visibility="gone" /> 68 69 <com.android.keyguard.CarrierText 70 android:id="@+id/keyguard_carrier_text" 71 android:layout_width="match_parent" 72 android:layout_height="match_parent" 73 android:paddingTop="@dimen/status_bar_padding_top" 74 android:layout_marginStart="@dimen/keyguard_carrier_text_margin" 75 android:layout_toStartOf="@id/system_icons_container" 76 android:gravity="center_vertical" 77 android:ellipsize="marquee" 78 android:textDirection="locale" 79 android:textAppearance="@style/TextAppearance.StatusBar.Clock" 80 android:textColor="?attr/wallpaperTextColorSecondary" 81 android:singleLine="true" 82 systemui:showMissingSim="true" 83 systemui:showAirplaneMode="true" 84 systemui:debugLocation="Keyguard" /> 85 86</com.android.systemui.statusbar.phone.KeyguardStatusBarView> 87