1<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2006, 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
21<com.android.systemui.statusbar.phone.NotificationPanelView
22    xmlns:android="http://schemas.android.com/apk/res/android"
23    xmlns:systemui="http://schemas.android.com/apk/res-auto"
24    android:id="@+id/notification_panel"
25    android:layout_width="match_parent"
26    android:layout_height="match_parent"
27    android:background="@android:color/transparent">
28    <ViewStub
29        android:id="@+id/keyguard_qs_user_switch_stub"
30        android:layout="@layout/keyguard_qs_user_switch"
31        android:layout_height="match_parent"
32        android:layout_width="match_parent" />
33
34    <include
35        layout="@layout/keyguard_bottom_area"
36        android:visibility="gone" />
37
38    <ViewStub
39        android:id="@+id/keyguard_user_switcher_stub"
40        android:layout="@layout/keyguard_user_switcher"
41        android:layout_height="match_parent"
42        android:layout_width="match_parent" />
43
44    <include layout="@layout/status_bar_expanded_plugin_frame"/>
45
46    <include layout="@layout/dock_info_bottom_area_overlay" />
47
48    <com.android.keyguard.LockIconView
49        android:id="@+id/lock_icon_view"
50        android:layout_width="wrap_content"
51        android:layout_height="wrap_content">
52        <!-- Background protection -->
53        <ImageView
54            android:id="@+id/lock_icon_bg"
55            android:layout_width="match_parent"
56            android:layout_height="match_parent"
57            android:background="@drawable/fingerprint_bg"
58            android:visibility="invisible"/>
59
60        <ImageView
61            android:id="@+id/lock_icon"
62            android:layout_width="match_parent"
63            android:layout_height="match_parent"
64            android:padding="@dimen/lock_icon_padding"
65            android:layout_gravity="center"
66            android:scaleType="centerCrop"/>
67
68    </com.android.keyguard.LockIconView>
69
70    <com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer
71        android:layout_width="match_parent"
72        android:layout_height="match_parent"
73        android:layout_gravity="@integer/notification_panel_layout_gravity"
74        android:id="@+id/notification_container_parent"
75        android:clipToPadding="false"
76        android:clipChildren="false">
77
78        <ViewStub
79            android:id="@+id/qs_header_stub"
80            android:layout_height="wrap_content"
81            android:layout_width="match_parent"
82        />
83
84        <include
85            layout="@layout/keyguard_status_view"
86            android:visibility="gone"/>
87
88        <include layout="@layout/dock_info_overlay"/>
89
90        <FrameLayout
91            android:id="@+id/qs_frame"
92            android:layout="@layout/qs_panel"
93            android:layout_width="@dimen/qs_panel_width"
94            android:layout_height="0dp"
95            android:clipToPadding="false"
96            android:clipChildren="false"
97            systemui:viewType="com.android.systemui.plugins.qs.QS"
98            systemui:layout_constraintStart_toStartOf="parent"
99            systemui:layout_constraintEnd_toEndOf="parent"
100            systemui:layout_constraintTop_toTopOf="parent"
101            systemui:layout_constraintBottom_toBottomOf="parent"
102        />
103
104        <androidx.constraintlayout.widget.Guideline
105            android:id="@+id/qs_edge_guideline"
106            android:layout_width="wrap_content"
107            android:layout_height="wrap_content"
108            systemui:layout_constraintGuide_percent="0.5"
109            android:orientation="vertical"/>
110
111        <com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout
112            android:id="@+id/notification_stack_scroller"
113            android:layout_marginTop="@dimen/notification_panel_margin_top"
114            android:layout_width="@dimen/notification_panel_width"
115            android:layout_height="match_parent"
116            android:layout_marginBottom="@dimen/close_handle_underlap"
117            android:importantForAccessibility="no"
118            systemui:layout_constraintStart_toStartOf="parent"
119            systemui:layout_constraintEnd_toEndOf="parent"
120        />
121
122        <include layout="@layout/photo_preview_overlay" />
123
124        <include
125            layout="@layout/keyguard_status_bar"
126            android:visibility="invisible" />
127
128        <Button
129            android:id="@+id/report_rejected_touch"
130            android:layout_width="wrap_content"
131            android:layout_height="wrap_content"
132            android:layout_marginTop="@dimen/status_bar_header_height_keyguard"
133            android:text="@string/report_rejected_touch"
134            android:visibility="gone" />
135        <com.android.systemui.statusbar.phone.TapAgainView
136            android:id="@+id/shade_falsing_tap_again"
137            android:layout_width="wrap_content"
138            android:layout_height="wrap_content"
139            systemui:layout_constraintLeft_toLeftOf="parent"
140            systemui:layout_constraintRight_toRightOf="parent"
141            systemui:layout_constraintBottom_toBottomOf="parent"
142            android:layout_marginBottom="20dp"
143            android:paddingHorizontal="16dp"
144            android:minHeight="44dp"
145            android:elevation="4dp"
146            android:background="@drawable/rounded_bg_full"
147            android:gravity="center"
148            android:text="@string/tap_again"
149            android:visibility="gone"
150        />
151    </com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer>
152
153    <FrameLayout
154        android:id="@+id/preview_container"
155        android:layout_width="match_parent"
156        android:layout_height="match_parent">
157    </FrameLayout>
158</com.android.systemui.statusbar.phone.NotificationPanelView>
159