1 <?xml version="1.0" encoding="utf-8"?>
3 /* apps/common/assets/default/default/skins/StatusBar.xml
5 ** Copyright 2006, The Android Open Source Project
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
11 ** http://www.apache.org/licenses/LICENSE-2.0
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.
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"
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"
39 layout="@layout/keyguard_status_view"
40 android:layout_height="wrap_content"
41 android:visibility="gone" />
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"
49 android:gravity="center"
50 android:visibility="gone"
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">
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">
70 android:layout_width="match_parent"
71 android:layout_height="wrap_content"
72 android:orientation="vertical">
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"/>
81 <!-- A view to reserve space for the collapsed stack -->
82 <!-- Layout height: notification_min_height + bottom_stack_peek_amount -->
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" />
90 android:layout_height="@dimen/notification_side_padding"
91 android:layout_width="match_parent" />
93 </com.android.systemui.statusbar.phone.ObservableScrollView>
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" />
103 android:id="@+id/keyguard_user_switcher"
104 android:layout="@layout/keyguard_user_switcher"
105 android:layout_height="match_parent"
106 android:layout_width="match_parent" />
109 layout="@layout/keyguard_status_bar"
110 android:visibility="invisible" />
112 </com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer>
115 layout="@layout/keyguard_bottom_area"
116 android:visibility="gone" />
118 <include layout="@layout/status_bar_expanded_header" />
120 <com.android.systemui.statusbar.AlphaOptimizedView
121 android:id="@+id/qs_navbar_scrim"
122 android:layout_height="96dp"
123 android:layout_width="match_parent"
124 android:layout_gravity="bottom"
125 android:visibility="invisible"
126 android:background="@drawable/qs_navbar_scrim" />
128 </com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel -->