Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 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" |
Bill Lin | 6c7ccab | 2018-07-05 17:48:49 +0800 | [diff] [blame] | 21 | xmlns:systemui="http://schemas.android.com/apk/res-auto" |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 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" |
Evan Laird | 5abb8d1 | 2018-05-11 17:16:17 -0400 | [diff] [blame] | 26 | android:gravity="center_vertical" |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 27 | > |
| 28 | |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 29 | <LinearLayout |
| 30 | android:id="@+id/status_icon_area" |
| 31 | android:layout_width="wrap_content" |
Selim Cinek | 6ebba59 | 2016-05-31 15:28:28 -0700 | [diff] [blame] | 32 | android:layout_height="match_parent" |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 33 | android:layout_alignParentEnd="true" |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 34 | android:gravity="center_vertical|end" > |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 35 | <FrameLayout android:id="@+id/system_icons_container" |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 36 | android:layout_width="0dp" |
Evan Laird | 5abb8d1 | 2018-05-11 17:16:17 -0400 | [diff] [blame] | 37 | android:layout_height="match_parent" |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 38 | android:layout_weight="1" |
| 39 | android:layout_marginStart="@dimen/system_icons_super_container_margin_start" |
| 40 | android:gravity="center_vertical|end" |
| 41 | android:paddingEnd="@dimen/system_icons_keyguard_padding_end" > |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 42 | <include layout="@layout/system_icons" /> |
| 43 | </FrameLayout> |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 44 | |
| 45 | <com.android.systemui.statusbar.phone.MultiUserSwitch android:id="@+id/multi_user_switch" |
| 46 | android:layout_width="@dimen/multi_user_switch_width_keyguard" |
| 47 | android:layout_height="match_parent" |
| 48 | android:background="@drawable/ripple_drawable" |
| 49 | android:layout_marginEnd="@dimen/multi_user_switch_keyguard_margin"> |
| 50 | <ImageView android:id="@+id/multi_user_avatar" |
| 51 | android:layout_width="@dimen/multi_user_avatar_keyguard_size" |
| 52 | android:layout_height="@dimen/multi_user_avatar_keyguard_size" |
| 53 | android:layout_gravity="center" |
| 54 | android:scaleType="centerInside"/> |
| 55 | </com.android.systemui.statusbar.phone.MultiUserSwitch> |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 56 | </LinearLayout> |
| 57 | |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 58 | <Space |
| 59 | android:id="@+id/cutout_space_view" |
| 60 | android:layout_width="0dp" |
| 61 | android:layout_height="match_parent" |
| 62 | android:gravity="center" |
| 63 | android:visibility="gone" /> |
| 64 | |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 65 | <com.android.keyguard.CarrierText |
| 66 | android:id="@+id/keyguard_carrier_text" |
| 67 | android:layout_width="match_parent" |
Selim Cinek | 6ebba59 | 2016-05-31 15:28:28 -0700 | [diff] [blame] | 68 | android:layout_height="match_parent" |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 69 | android:layout_marginStart="@dimen/keyguard_carrier_text_margin" |
Evan Laird | 264275e | 2018-03-01 19:39:39 -0500 | [diff] [blame] | 70 | android:layout_toStartOf="@id/system_icons_container" |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 71 | android:gravity="center_vertical" |
| 72 | android:ellipsize="marquee" |
Evan Laird | aca8c63 | 2018-04-17 16:22:50 -0400 | [diff] [blame] | 73 | android:textDirection="locale" |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 74 | android:textAppearance="?android:attr/textAppearanceSmall" |
Lucas Dupin | a360e1e7 | 2017-07-17 17:25:20 -0700 | [diff] [blame] | 75 | android:textColor="?attr/wallpaperTextColorSecondary" |
Bill Lin | 6c7ccab | 2018-07-05 17:48:49 +0800 | [diff] [blame] | 76 | android:singleLine="true" |
| 77 | systemui:showMissingSim="true" |
| 78 | systemui:showAirplaneMode="true" /> |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 79 | |
| 80 | </com.android.systemui.statusbar.phone.KeyguardStatusBarView> |