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 102 <ViewStub 103 android:id="@+id/keyguard_user_switcher" 104 android:layout_height="wrap_content" 105 android:layout_width="wrap_content" 106 android:layout_marginTop="@dimen/status_bar_header_height_keyguard" 107 android:layout_gravity="end" 108 android:layout="@layout/keyguard_user_switcher" /> 109 110 <include 111 layout="@layout/keyguard_status_bar" 112 android:visibility="invisible" /> 113 114 </com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer> 115 116 <include 117 layout="@layout/keyguard_bottom_area" 118 android:visibility="gone" /> 119 120 <include layout="@layout/status_bar_expanded_header" /> 121 122 <com.android.systemui.statusbar.AlphaOptimizedView 123 android:id="@+id/qs_navbar_scrim" 124 android:layout_height="96dp" 125 android:layout_width="match_parent" 126 android:layout_gravity="bottom" 127 android:visibility="invisible" 128 android:background="@drawable/qs_navbar_scrim" /> 129 130 </com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel --> 131