1<?xml version="1.0" encoding="utf-8"?>
2<!--
3** Copyright 2012, The Android Open Source Project
4**
5** Licensed under the Apache License, Version 2.0 (the "License");
6** you may not use this file except in compliance with the License.
7** You may obtain a copy of the License at
8**
9**     http://www.apache.org/licenses/LICENSE-2.0
10**
11** Unless required by applicable law or agreed to in writing, software
12** distributed under the License is distributed on an "AS IS" BASIS,
13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14** See the License for the specific language governing permissions and
15** limitations under the License.
16-->
17
18<!-- Extends RelativeLayout -->
19<com.android.systemui.qs.QuickStatusBarHeader
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    android:id="@+id/header"
22    android:layout_width="match_parent"
23    android:layout_height="wrap_content"
24    android:layout_gravity="@integer/notification_panel_layout_gravity"
25    android:background="@android:color/transparent"
26    android:baselineAligned="false"
27    android:clickable="false"
28    android:clipChildren="false"
29    android:clipToPadding="false"
30    android:paddingTop="0dp"
31    android:paddingEnd="0dp"
32    android:paddingStart="0dp"
33    android:elevation="4dp" >
34
35    <!-- Date and privacy. Only visible in QS when not in split shade -->
36    <include layout="@layout/quick_status_bar_header_date_privacy"/>
37
38    <RelativeLayout
39        android:id="@+id/qs_container"
40        android:layout_width="match_parent"
41        android:layout_height="wrap_content"
42        android:layout_gravity="top"
43        android:clipChildren="false"
44        android:clipToPadding="false">
45        <!-- Time, icons and Carrier (only in QS when not in split shade) -->
46        <include layout="@layout/quick_qs_status_icons"/>
47
48        <com.android.systemui.qs.QuickQSPanel
49            android:id="@+id/quick_qs_panel"
50            android:layout_width="match_parent"
51            android:layout_height="wrap_content"
52            android:layout_below="@id/quick_qs_status_icons"
53            android:layout_marginTop="@dimen/qqs_layout_margin_top"
54            android:accessibilityTraversalAfter="@id/quick_qs_status_icons"
55            android:clipChildren="false"
56            android:clipToPadding="false"
57            android:focusable="true"
58            android:paddingBottom="24dp"
59            android:importantForAccessibility="yes">
60
61            <include
62                layout="@layout/footer_actions"
63                android:id="@+id/qqs_footer_actions"
64                android:layout_width="match_parent"
65                android:layout_height="wrap_content"
66                android:layout_marginTop="@dimen/qqs_layout_margin_top"
67                android:layout_marginStart="@dimen/qs_footer_margin"
68                android:layout_marginEnd="@dimen/qs_footer_margin"
69                />
70        </com.android.systemui.qs.QuickQSPanel>
71    </RelativeLayout>
72
73</com.android.systemui.qs.QuickStatusBarHeader>
74