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.statusbar.phone.NotificationShadeWindowView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:sysui="http://schemas.android.com/apk/res-auto" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:fitsSystemWindows="true"> 27 28 <com.android.systemui.statusbar.BackDropView 29 android:id="@+id/backdrop" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent" 32 android:visibility="gone" 33 sysui:ignoreRightInset="true" 34 > 35 <ImageView android:id="@+id/backdrop_back" 36 android:layout_width="match_parent" 37 android:scaleType="centerCrop" 38 android:layout_height="match_parent" /> 39 <ImageView android:id="@+id/backdrop_front" 40 android:layout_width="match_parent" 41 android:layout_height="match_parent" 42 android:scaleType="centerCrop" 43 android:visibility="invisible" /> 44 </com.android.systemui.statusbar.BackDropView> 45 46 <com.android.systemui.scrim.ScrimView 47 android:id="@+id/scrim_behind" 48 android:layout_width="match_parent" 49 android:layout_height="match_parent" 50 android:importantForAccessibility="no" 51 sysui:ignoreRightInset="true" 52 /> 53 54 <com.android.systemui.scrim.ScrimView 55 android:id="@+id/scrim_notifications" 56 android:layout_width="match_parent" 57 android:layout_height="match_parent" 58 android:importantForAccessibility="no" 59 sysui:ignoreRightInset="true" 60 /> 61 62 <com.android.systemui.statusbar.LightRevealScrim 63 android:id="@+id/light_reveal_scrim" 64 android:layout_width="match_parent" 65 android:layout_height="match_parent" /> 66 67 <include layout="@layout/status_bar_expanded" 68 android:layout_width="match_parent" 69 android:layout_height="match_parent" 70 android:visibility="invisible" /> 71 72 <include layout="@layout/brightness_mirror_container" /> 73 74 <com.android.systemui.scrim.ScrimView 75 android:id="@+id/scrim_in_front" 76 android:layout_width="match_parent" 77 android:layout_height="match_parent" 78 android:importantForAccessibility="no" 79 sysui:ignoreRightInset="true" 80 /> 81 82 <!-- Keyguard messages --> 83 <LinearLayout 84 android:id="@+id/keyguard_message_area_container" 85 android:layout_width="match_parent" 86 android:layout_height="match_parent" 87 android:orientation="vertical" 88 android:layout_marginTop="@dimen/status_bar_height" 89 android:layout_gravity="top|center_horizontal" 90 android:gravity="center_horizontal"> 91 <com.android.keyguard.KeyguardMessageArea 92 android:id="@+id/keyguard_message_area" 93 style="@style/Keyguard.TextView" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" 96 android:layout_marginTop="@dimen/keyguard_lock_padding" 97 android:gravity="center" 98 android:singleLine="true" 99 android:ellipsize="marquee" 100 android:focusable="true" /> 101 <FrameLayout android:id="@+id/keyguard_bouncer_container" 102 android:layout_height="0dp" 103 android:layout_width="match_parent" 104 android:layout_weight="1" /> 105 </LinearLayout> 106 107 <com.android.systemui.biometrics.AuthRippleView 108 android:id="@+id/auth_ripple" 109 android:layout_width="match_parent" 110 android:layout_height="match_parent" 111 android:importantForAccessibility="no" 112 sysui:ignoreRightInset="true" 113 /> 114</com.android.systemui.statusbar.phone.NotificationShadeWindowView> 115