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    android:layout_width="match_parent"
24    android:layout_height="match_parent"
25    android:fitsSystemWindows="true">
26
27    <com.android.systemui.statusbar.BackDropView
28            android:id="@+id/backdrop"
29            android:layout_width="match_parent"
30            android:layout_height="match_parent"
31            android:visibility="gone"
32            >
33        <ImageView android:id="@+id/backdrop_back"
34                   android:layout_width="match_parent"
35                   android:scaleType="centerCrop"
36                   android:layout_height="match_parent" />
37        <ImageView android:id="@+id/backdrop_front"
38                   android:layout_width="match_parent"
39                   android:layout_height="match_parent"
40                   android:scaleType="centerCrop"
41                   android:visibility="invisible" />
42    </com.android.systemui.statusbar.BackDropView>
43
44    <com.android.systemui.statusbar.ScrimView android:id="@+id/scrim_behind"
45        android:layout_width="match_parent"
46        android:layout_height="match_parent"
47        android:importantForAccessibility="no" />
48
49    <include layout="@layout/status_bar"
50        android:layout_width="match_parent"
51        android:layout_height="@dimen/status_bar_height" />
52
53    <FrameLayout android:id="@+id/brightness_mirror"
54                 android:layout_width="@dimen/notification_panel_width"
55                 android:layout_height="wrap_content"
56                 android:layout_gravity="@integer/notification_panel_layout_gravity"
57                 android:paddingLeft="@dimen/notification_side_padding"
58                 android:paddingRight="@dimen/notification_side_padding"
59                 android:visibility="gone">
60        <FrameLayout
61                android:layout_width="match_parent"
62                android:layout_height="match_parent"
63                android:elevation="2dp"
64                android:background="@drawable/brightness_mirror_background">
65            <include layout="@layout/quick_settings_brightness_dialog"
66                     android:layout_width="match_parent"
67                     android:layout_height="wrap_content" />
68        </FrameLayout>
69    </FrameLayout>
70
71    <com.android.systemui.statusbar.phone.PanelHolder
72        android:id="@+id/panel_holder"
73        android:layout_width="match_parent"
74        android:layout_height="match_parent"
75        android:background="@color/transparent" >
76        <include layout="@layout/status_bar_expanded"
77            android:layout_width="match_parent"
78            android:layout_height="match_parent"
79            android:visibility="gone" />
80    </com.android.systemui.statusbar.phone.PanelHolder>
81
82    <com.android.systemui.statusbar.ScrimView android:id="@+id/scrim_in_front"
83        android:layout_width="match_parent"
84        android:layout_height="match_parent"
85        android:importantForAccessibility="no" />
86
87</com.android.systemui.statusbar.phone.StatusBarWindowView>
88