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.shade.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 29 <com.android.systemui.common.ui.view.LongPressHandlingView 30 android:id="@+id/keyguard_long_press" 31 android:layout_width="match_parent" 32 android:layout_height="match_parent" /> 33 34 <ViewStub 35 android:id="@+id/keyguard_qs_user_switch_stub" 36 android:layout="@layout/keyguard_qs_user_switch" 37 android:layout_height="match_parent" 38 android:layout_width="match_parent" /> 39 40 <include layout="@layout/status_bar_expanded_plugin_frame"/> 41 42 <com.android.systemui.shade.NotificationsQuickSettingsContainer 43 android:layout_width="match_parent" 44 android:layout_height="match_parent" 45 android:layout_gravity="@integer/notification_panel_layout_gravity" 46 android:id="@+id/notification_container_parent" 47 android:clipToPadding="false" 48 android:clipChildren="false"> 49 50 <include 51 layout="@layout/keyguard_status_view" 52 android:visibility="gone"/> 53 54 <include layout="@layout/dock_info_overlay"/> 55 56 <FrameLayout 57 android:id="@+id/qs_frame" 58 android:layout="@layout/qs_panel" 59 android:layout_width="0dp" 60 android:layout_height="0dp" 61 android:clipToPadding="false" 62 android:clipChildren="false" 63 android:layout_marginHorizontal="@dimen/notification_panel_margin_horizontal" 64 systemui:viewType="com.android.systemui.plugins.qs.QS" 65 systemui:layout_constraintStart_toStartOf="parent" 66 systemui:layout_constraintEnd_toEndOf="parent" 67 systemui:layout_constraintTop_toTopOf="parent" 68 systemui:layout_constraintBottom_toBottomOf="parent" 69 /> 70 71 <!-- This view should be after qs_frame so touches are dispatched first to it. That gives 72 it a chance to capture clicks before the NonInterceptingScrollView disallows all 73 intercepts --> 74 <ViewStub 75 android:id="@+id/qs_header_stub" 76 android:layout_height="wrap_content" 77 android:layout_width="match_parent" 78 /> 79 80 <androidx.constraintlayout.widget.Guideline 81 android:id="@+id/qs_edge_guideline" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 systemui:layout_constraintGuide_percent="0.5" 85 android:orientation="vertical"/> 86 87 <!-- This layout should always include a version of 88 NotificationStackScrollLayout, as it is expected from 89 NotificationPanelViewController. --> 90 <include layout="@layout/notification_stack_scroll_layout" /> 91 92 <include layout="@layout/photo_preview_overlay" /> 93 94 <include 95 layout="@layout/keyguard_status_bar" 96 android:visibility="invisible" /> 97 98 <Button 99 android:id="@+id/report_rejected_touch" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:layout_marginTop="@dimen/status_bar_header_height_keyguard" 103 android:text="@string/report_rejected_touch" 104 android:visibility="gone" /> 105 <com.android.systemui.statusbar.phone.TapAgainView 106 android:id="@+id/shade_falsing_tap_again" 107 android:layout_width="wrap_content" 108 android:layout_height="wrap_content" 109 systemui:layout_constraintLeft_toLeftOf="parent" 110 systemui:layout_constraintRight_toRightOf="parent" 111 systemui:layout_constraintBottom_toBottomOf="parent" 112 android:layout_marginBottom="20dp" 113 android:paddingHorizontal="16dp" 114 android:minHeight="44dp" 115 android:elevation="4dp" 116 android:background="@drawable/rounded_bg_full" 117 android:gravity="center" 118 android:text="@string/tap_again" 119 android:visibility="gone" 120 /> 121 </com.android.systemui.shade.NotificationsQuickSettingsContainer> 122 123 <include 124 layout="@layout/keyguard_bottom_area" 125 android:visibility="gone" /> 126 127 <ViewStub 128 android:id="@+id/keyguard_user_switcher_stub" 129 android:layout="@layout/keyguard_user_switcher" 130 android:layout_height="match_parent" 131 android:layout_width="match_parent" /> 132 133 <include layout="@layout/dock_info_bottom_area_overlay" /> 134 135 <com.android.keyguard.LockIconView 136 android:id="@+id/lock_icon_view" 137 android:layout_width="wrap_content" 138 android:layout_height="wrap_content"> 139 <!-- Background protection --> 140 <ImageView 141 android:id="@+id/lock_icon_bg" 142 android:layout_width="match_parent" 143 android:layout_height="match_parent" 144 android:background="@drawable/fingerprint_bg" 145 android:visibility="invisible"/> 146 147 <ImageView 148 android:id="@+id/lock_icon" 149 android:layout_width="match_parent" 150 android:layout_height="match_parent" 151 android:layout_gravity="center" 152 android:scaleType="centerCrop"/> 153 154 </com.android.keyguard.LockIconView> 155 156 <FrameLayout 157 android:id="@+id/preview_container" 158 android:layout_width="match_parent" 159 android:layout_height="match_parent"> 160 </FrameLayout> 161</com.android.systemui.shade.NotificationPanelView> 162