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    <com.android.systemui.statusbar.BackDropView
30        android:id="@+id/backdrop"
31        android:layout_width="match_parent"
32        android:layout_height="match_parent"
33        android:visibility="gone"
34        sysui:ignoreRightInset="true"
35    >
36        <ImageView android:id="@+id/backdrop_back"
37                   android:layout_width="match_parent"
38                   android:scaleType="centerCrop"
39                   android:layout_height="match_parent" />
40        <ImageView android:id="@+id/backdrop_front"
41                   android:layout_width="match_parent"
42                   android:layout_height="match_parent"
43                   android:scaleType="centerCrop"
44                   android:visibility="invisible" />
45    </com.android.systemui.statusbar.BackDropView>
46
47    <com.android.systemui.scrim.ScrimView
48        android:id="@+id/scrim_behind"
49        android:layout_width="match_parent"
50        android:layout_height="match_parent"
51        android:importantForAccessibility="no"
52        sysui:ignoreRightInset="true"
53    />
54
55    <com.android.systemui.scrim.ScrimView
56        android:id="@+id/scrim_notifications"
57        android:layout_width="match_parent"
58        android:layout_height="match_parent"
59        android:importantForAccessibility="no"
60        sysui:ignoreRightInset="true"
61    />
62
63    <com.android.systemui.statusbar.LightRevealScrim
64        android:id="@+id/light_reveal_scrim"
65        android:layout_width="match_parent"
66        android:layout_height="match_parent" />
67
68    <include layout="@layout/status_bar_expanded"
69             android:layout_width="match_parent"
70             android:layout_height="match_parent"
71             android:visibility="invisible" />
72
73    <!-- Root for all keyguard content. It was previously located within the shade. -->
74    <com.android.systemui.keyguard.ui.view.KeyguardRootView
75        android:id="@id/keyguard_root_view"
76        android:layout_width="match_parent"
77        android:layout_height="match_parent" />
78
79    <!-- Shared container for the notification stack. Can be positioned by either
80         the keyguard_root_view or notification_panel -->
81    <com.android.systemui.statusbar.notification.stack.ui.view.SharedNotificationContainer
82        android:id="@+id/shared_notification_container"
83        android:layout_width="match_parent"
84        android:layout_height="match_parent" />
85
86    <include layout="@layout/brightness_mirror_container" />
87
88    <com.android.systemui.scrim.ScrimView
89        android:id="@+id/scrim_in_front"
90        android:layout_width="match_parent"
91        android:layout_height="match_parent"
92        android:importantForAccessibility="no"
93        sysui:ignoreRightInset="true"
94    />
95
96    <!-- Keyguard messages -->
97    <LinearLayout
98        android:id="@+id/keyguard_message_area_container"
99        android:layout_width="match_parent"
100        android:layout_height="match_parent"
101        android:orientation="vertical"
102        android:layout_marginTop="@dimen/status_bar_height"
103        android:layout_gravity="top|center_horizontal"
104        android:gravity="center_horizontal">
105        <com.android.keyguard.AuthKeyguardMessageArea
106            android:id="@+id/keyguard_message_area"
107            style="@style/Keyguard.TextView"
108            android:layout_width="wrap_content"
109            android:layout_height="wrap_content"
110            android:layout_marginTop="@dimen/keyguard_lock_padding"
111            android:gravity="center"
112            android:singleLine="true"
113            android:ellipsize="marquee"
114            android:focusable="true" />
115    </LinearLayout>
116
117    <FrameLayout android:id="@+id/keyguard_bouncer_container"
118        android:layout_height="match_parent"
119        android:layout_width="match_parent"
120        android:layout_weight="1"
121        android:background="@android:color/transparent"
122        android:visibility="invisible"
123        android:clipChildren="false"
124        android:clipToPadding="false" />
125
126    <ViewStub
127        android:id="@+id/multi_shade_stub"
128        android:layout_width="match_parent"
129        android:layout_height="match_parent"
130        android:inflatedId="@+id/multi_shade"
131        android:layout="@layout/multi_shade" />
132
133    <com.android.systemui.biometrics.AuthRippleView
134        android:id="@+id/auth_ripple"
135        android:layout_width="match_parent"
136        android:layout_height="match_parent"
137        android:importantForAccessibility="no"
138        sysui:ignoreRightInset="true"
139    />
140</com.android.systemui.shade.NotificationShadeWindowView>
141