1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2020, 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 the notification shade window. --> 21<com.android.systemui.shade.NotificationShadeWindowView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:sysui="http://schemas.android.com/apk/res-auto" 24 android:id="@+id/legacy_window_root" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 android:fitsSystemWindows="true"> 28 29 <!-- Placeholder for the communal UI that will be replaced if the feature is enabled. --> 30 <View 31 android:id="@+id/communal_ui_stub" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:visibility="gone" /> 35 36 <com.android.systemui.scrim.ScrimView 37 android:id="@+id/scrim_behind" 38 android:layout_width="match_parent" 39 android:layout_height="match_parent" 40 sysui:ignoreRightInset="true" 41 /> 42 43 <com.android.systemui.scrim.ScrimView 44 android:id="@+id/scrim_notifications" 45 android:layout_width="match_parent" 46 android:layout_height="match_parent" 47 sysui:ignoreRightInset="true" 48 /> 49 50 <com.android.systemui.statusbar.LightRevealScrim 51 android:id="@+id/light_reveal_scrim" 52 android:layout_width="match_parent" 53 android:layout_height="match_parent" 54 sysui:ignoreRightInset="true" /> 55 56 <include layout="@layout/status_bar_expanded" 57 android:layout_width="match_parent" 58 android:layout_height="match_parent" 59 android:visibility="invisible" /> 60 61 <!-- Root for all keyguard content. It was previously located within the shade. --> 62 <com.android.systemui.keyguard.ui.view.KeyguardRootView 63 android:id="@id/keyguard_root_view" 64 android:layout_width="match_parent" 65 android:layout_height="match_parent" 66 android:clipChildren="false" 67 /> 68 69 <!-- Shared container for the notification stack. Can be positioned by either 70 the keyguard_root_view or notification_panel --> 71 <com.android.systemui.statusbar.notification.stack.ui.view.SharedNotificationContainer 72 android:id="@+id/shared_notification_container" 73 android:layout_width="match_parent" 74 android:layout_height="match_parent" 75 android:clipChildren="false" 76 android:clipToPadding="false" 77 /> 78 79 <include layout="@layout/brightness_mirror_container" /> 80 81 <com.android.systemui.scrim.ScrimView 82 android:id="@+id/scrim_in_front" 83 android:layout_width="match_parent" 84 android:layout_height="match_parent" 85 sysui:ignoreRightInset="true" 86 /> 87 88 <!-- Keyguard messages --> 89 <LinearLayout 90 android:id="@+id/keyguard_message_area_container" 91 android:layout_width="match_parent" 92 android:layout_height="match_parent" 93 android:orientation="vertical" 94 android:layout_marginTop="@dimen/status_bar_height" 95 android:layout_gravity="top|center_horizontal" 96 android:gravity="center_horizontal"> 97 <com.android.keyguard.AuthKeyguardMessageArea 98 android:id="@+id/keyguard_message_area" 99 style="@style/Keyguard.TextView" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:layout_marginTop="@dimen/keyguard_lock_padding" 103 android:gravity="center" 104 android:singleLine="true" 105 android:ellipsize="marquee" 106 android:focusable="true" /> 107 </LinearLayout> 108 109 <FrameLayout android:id="@+id/keyguard_bouncer_container" 110 android:layout_height="match_parent" 111 android:layout_width="match_parent" 112 android:layout_weight="1" 113 android:background="@android:color/transparent" 114 android:visibility="invisible" 115 android:clipChildren="false" 116 android:clipToPadding="false" /> 117 118 <ViewStub 119 android:id="@+id/multi_shade_stub" 120 android:layout_width="match_parent" 121 android:layout_height="match_parent" 122 android:inflatedId="@+id/multi_shade" 123 android:layout="@layout/multi_shade" /> 124 125 <com.android.systemui.biometrics.AuthRippleView 126 android:id="@+id/auth_ripple" 127 android:layout_width="match_parent" 128 android:layout_height="match_parent" 129 android:importantForAccessibility="no" 130 sysui:ignoreRightInset="true" 131 /> 132</com.android.systemui.shade.NotificationShadeWindowView> 133