1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* apps/common/assets/default/default/skins/StatusBar.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
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/com.android.systemui"
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
30    <include
31        layout="@layout/carrier_label"
32        android:layout_height="@dimen/carrier_label_height"
33        android:layout_width="match_parent"
34        android:layout_marginBottom="@dimen/close_handle_height"
35        android:layout_gravity="bottom"
36        />
37
38    <include
39        layout="@layout/keyguard_status_view"
40        android:layout_height="wrap_content"
41        android:visibility="gone" />
42
43    <TextView
44        android:id="@+id/emergency_calls_only"
45        android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly"
46        android:layout_height="wrap_content"
47        android:layout_width="match_parent"
48        android:padding="4dp"
49        android:gravity="center"
50        android:visibility="gone"
51        />
52
53    <com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer
54        android:layout_width="match_parent"
55        android:layout_height="match_parent"
56        android:layout_gravity="@integer/notification_panel_layout_gravity"
57        android:id="@+id/notification_container_parent"
58        android:clipToPadding="false"
59        android:clipChildren="false">
60
61        <com.android.systemui.statusbar.phone.ObservableScrollView
62            android:id="@+id/scroll_view"
63            android:layout_width="@dimen/notification_panel_width"
64            android:layout_height="match_parent"
65            android:layout_gravity="@integer/notification_panel_layout_gravity"
66            android:scrollbars="none"
67            android:overScrollMode="never"
68            android:fillViewport="true">
69            <LinearLayout
70                android:layout_width="match_parent"
71                android:layout_height="wrap_content"
72                android:orientation="vertical">
73                <include
74                    layout="@layout/qs_panel"
75                    android:layout_marginTop="@dimen/status_bar_header_height_expanded"
76                    android:layout_width="match_parent"
77                    android:layout_height="wrap_content"
78                    android:layout_marginLeft="@dimen/notification_side_padding"
79                    android:layout_marginRight="@dimen/notification_side_padding"/>
80
81                <!-- A view to reserve space for the collapsed stack -->
82                <!-- Layout height: notification_min_height + bottom_stack_peek_amount -->
83                <View
84                    android:id="@+id/reserve_notification_space"
85                    android:layout_height="@dimen/min_stack_height"
86                    android:layout_width="match_parent"
87                    android:layout_marginTop="@dimen/notifications_top_padding" />
88
89                <View
90                    android:layout_height="@dimen/notification_side_padding"
91                    android:layout_width="match_parent" />
92            </LinearLayout>
93        </com.android.systemui.statusbar.phone.ObservableScrollView>
94
95        <com.android.systemui.statusbar.stack.NotificationStackScrollLayout
96            android:id="@+id/notification_stack_scroller"
97            android:layout_width="@dimen/notification_panel_width"
98            android:layout_height="match_parent"
99            android:layout_gravity="@integer/notification_panel_layout_gravity"
100            android:layout_marginBottom="@dimen/close_handle_underlap"
101            android:importantForAccessibility="no" />
102
103        <ViewStub
104            android:id="@+id/keyguard_user_switcher"
105            android:layout="@layout/keyguard_user_switcher"
106            android:layout_height="match_parent"
107            android:layout_width="match_parent" />
108
109        <include
110            layout="@layout/keyguard_status_bar"
111            android:visibility="invisible" />
112
113    </com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer>
114
115    <include
116            layout="@layout/keyguard_bottom_area"
117            android:visibility="gone" />
118
119    <include layout="@layout/status_bar_expanded_header" />
120
121    <com.android.systemui.statusbar.AlphaOptimizedView
122        android:id="@+id/qs_navbar_scrim"
123        android:layout_height="96dp"
124        android:layout_width="match_parent"
125        android:layout_gravity="bottom"
126        android:visibility="invisible"
127        android:background="@drawable/qs_navbar_scrim" />
128
129</com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel -->
130