| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ** Copyright 2012, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| --> |
| |
| <!-- Extends RelativeLayout --> |
| <com.android.systemui.qs.QuickStatusBarHeader |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/header" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="@integer/notification_panel_layout_gravity" |
| android:background="@android:color/transparent" |
| android:baselineAligned="false" |
| android:clickable="false" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:paddingTop="0dp" |
| android:paddingEnd="0dp" |
| android:paddingStart="0dp" |
| android:elevation="4dp" > |
| |
| <!-- Date and privacy. Only visible in QS when not in split shade --> |
| <include layout="@layout/quick_status_bar_header_date_privacy"/> |
| |
| <RelativeLayout |
| android:id="@+id/qs_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="top" |
| android:clipChildren="false" |
| android:clipToPadding="false"> |
| <!-- Time, icons and Carrier (only in QS when not in split shade) --> |
| <include layout="@layout/quick_qs_status_icons"/> |
| |
| <com.android.systemui.qs.QuickQSPanel |
| android:id="@+id/quick_qs_panel" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/quick_qs_status_icons" |
| android:layout_marginTop="@dimen/qqs_layout_margin_top" |
| android:accessibilityTraversalAfter="@id/quick_qs_status_icons" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:focusable="true" |
| android:paddingBottom="24dp" |
| android:importantForAccessibility="yes"> |
| |
| <include |
| layout="@layout/footer_actions" |
| android:id="@+id/qqs_footer_actions" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="@dimen/qqs_layout_margin_top" |
| android:layout_marginStart="@dimen/qs_footer_margin" |
| android:layout_marginEnd="@dimen/qs_footer_margin" |
| /> |
| </com.android.systemui.qs.QuickQSPanel> |
| </RelativeLayout> |
| |
| </com.android.systemui.qs.QuickStatusBarHeader> |