• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/keyguard_status_view"
32        android:layout_height="wrap_content"
33        android:visibility="gone" />
34
35    <com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer
36        android:layout_width="match_parent"
37        android:layout_height="match_parent"
38        android:layout_gravity="@integer/notification_panel_layout_gravity"
39        android:id="@+id/notification_container_parent"
40        android:clipToPadding="false"
41        android:clipChildren="false">
42
43        <com.android.systemui.statusbar.phone.ObservableScrollView
44            android:id="@+id/scroll_view"
45            android:layout_width="@dimen/notification_panel_width"
46            android:layout_height="match_parent"
47            android:layout_gravity="@integer/notification_panel_layout_gravity"
48            android:scrollbars="none"
49            android:overScrollMode="never"
50            android:fillViewport="true">
51            <LinearLayout
52                android:layout_width="match_parent"
53                android:layout_height="wrap_content"
54                android:orientation="vertical">
55                <include
56                    layout="@layout/qs_panel"
57                    android:layout_marginTop="@dimen/status_bar_header_height_expanded"
58                    android:layout_width="match_parent"
59                    android:layout_height="wrap_content"
60                    android:layout_marginLeft="@dimen/notification_side_padding"
61                    android:layout_marginRight="@dimen/notification_side_padding"/>
62
63                <!-- A view to reserve space for the collapsed stack -->
64                <!-- Layout height: notification_min_height + bottom_stack_peek_amount -->
65                <View
66                    android:id="@+id/reserve_notification_space"
67                    android:layout_height="@dimen/min_stack_height"
68                    android:layout_width="match_parent"
69                    android:layout_marginTop="@dimen/notifications_top_padding" />
70
71                <View
72                    android:layout_height="@dimen/notification_side_padding"
73                    android:layout_width="match_parent" />
74            </LinearLayout>
75        </com.android.systemui.statusbar.phone.ObservableScrollView>
76
77        <com.android.systemui.statusbar.stack.NotificationStackScrollLayout
78            android:id="@+id/notification_stack_scroller"
79            android:layout_width="@dimen/notification_panel_width"
80            android:layout_height="match_parent"
81            android:layout_gravity="@integer/notification_panel_layout_gravity"
82            android:layout_marginBottom="@dimen/close_handle_underlap"
83            android:importantForAccessibility="no" />
84
85        <ViewStub
86            android:id="@+id/keyguard_user_switcher"
87            android:layout="@layout/keyguard_user_switcher"
88            android:layout_height="match_parent"
89            android:layout_width="match_parent" />
90
91        <include
92            layout="@layout/keyguard_status_bar"
93            android:visibility="invisible" />
94
95    </com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer>
96
97    <include
98            layout="@layout/keyguard_bottom_area"
99            android:visibility="gone" />
100
101    <include layout="@layout/status_bar_expanded_header" />
102
103    <com.android.systemui.statusbar.AlphaOptimizedView
104        android:id="@+id/qs_navbar_scrim"
105        android:layout_height="96dp"
106        android:layout_width="match_parent"
107        android:layout_gravity="bottom"
108        android:visibility="invisible"
109        android:background="@drawable/qs_navbar_scrim" />
110
111</com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel -->
112