1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2012, 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 combined status bar / notification panel window. --> 21<com.android.systemui.statusbar.phone.StatusBarWindowView 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.statusbar.ScrimView android:id="@+id/scrim_behind" 47 android:layout_width="match_parent" 48 android:layout_height="match_parent" 49 android:importantForAccessibility="no" 50 sysui:ignoreRightInset="true" 51 /> 52 53 <com.android.systemui.statusbar.AlphaOptimizedView 54 android:id="@+id/heads_up_scrim" 55 android:layout_width="match_parent" 56 android:layout_height="@dimen/heads_up_scrim_height" 57 android:background="@drawable/heads_up_scrim" 58 android:importantForAccessibility="no"/> 59 60 <include layout="@layout/status_bar" 61 android:layout_width="match_parent" 62 android:layout_height="@dimen/status_bar_height" /> 63 64 <FrameLayout android:id="@+id/brightness_mirror" 65 android:layout_width="@dimen/notification_panel_width" 66 android:layout_height="wrap_content" 67 android:layout_gravity="@integer/notification_panel_layout_gravity" 68 android:paddingLeft="@dimen/notification_side_padding" 69 android:paddingRight="@dimen/notification_side_padding" 70 android:visibility="invisible"> 71 <FrameLayout 72 android:layout_width="match_parent" 73 android:layout_height="match_parent" 74 android:elevation="2dp" 75 android:background="@drawable/brightness_mirror_background"> 76 <include layout="@layout/quick_settings_brightness_dialog" 77 android:layout_width="match_parent" 78 android:layout_height="wrap_content" /> 79 </FrameLayout> 80 </FrameLayout> 81 82 <com.android.systemui.statusbar.phone.PanelHolder 83 android:id="@+id/panel_holder" 84 android:layout_width="match_parent" 85 android:layout_height="match_parent" 86 android:background="@color/transparent" > 87 <include layout="@layout/status_bar_expanded" 88 android:layout_width="match_parent" 89 android:layout_height="match_parent" 90 android:visibility="gone" /> 91 </com.android.systemui.statusbar.phone.PanelHolder> 92 93 <com.android.systemui.statusbar.ScrimView android:id="@+id/scrim_in_front" 94 android:layout_width="match_parent" 95 android:layout_height="match_parent" 96 android:importantForAccessibility="no" 97 sysui:ignoreRightInset="true" 98 /> 99 100</com.android.systemui.statusbar.phone.StatusBarWindowView> 101