blob: dc34127496f65322fe3b9d1123d791ba377a6288 [file] [log] [blame]
Jason Monkc34befb2015-10-07 16:40:02 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
Jason Monk94a1bf62015-10-20 08:43:36 -07003** Copyright 2012, The Android Open Source Project
Jason Monkc34befb2015-10-07 16:40:02 -04004**
Anthony Chen3cb3ad92016-12-01 10:58:47 -08005** 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
Jason Monkc34befb2015-10-07 16:40:02 -04008**
Anthony Chen3cb3ad92016-12-01 10:58:47 -08009** http://www.apache.org/licenses/LICENSE-2.0
Jason Monkc34befb2015-10-07 16:40:02 -040010**
Anthony Chen3cb3ad92016-12-01 10:58:47 -080011** 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
Jason Monkc34befb2015-10-07 16:40:02 -040015** limitations under the License.
16-->
17
18<!-- Extends RelativeLayout -->
Jason Monke5b770e2017-03-03 21:49:29 -050019<com.android.systemui.qs.QuickStatusBarHeader
Jason Monkc34befb2015-10-07 16:40:02 -040020 xmlns:android="http://schemas.android.com/apk/res/android"
Jason Monkc34befb2015-10-07 16:40:02 -040021 android:id="@+id/header"
Jason Monkcd4e382b2016-05-04 16:08:08 -040022 android:layout_width="match_parent"
Selim Cinekb52642b2020-04-17 14:30:29 -070023 android:layout_height="wrap_content"
Jason Monkc34befb2015-10-07 16:40:02 -040024 android:layout_gravity="@integer/notification_panel_layout_gravity"
Amin Shaikhff815c22018-03-29 14:38:59 -040025 android:background="@android:color/transparent"
Jason Monkc34befb2015-10-07 16:40:02 -040026 android:baselineAligned="false"
Fabian Kozynskif3a77012019-01-09 15:37:30 +000027 android:clickable="false"
Jason Monk32508852017-01-18 09:17:13 -050028 android:clipChildren="false"
29 android:clipToPadding="false"
30 android:paddingTop="0dp"
31 android:paddingEnd="0dp"
Evan Laird39254d42018-01-18 16:05:30 -050032 android:paddingStart="0dp"
Fabian Kozynskif3a77012019-01-09 15:37:30 +000033 android:elevation="4dp" >
Jason Monkc34befb2015-10-07 16:40:02 -040034
Selim Cinek35484ae2020-05-29 20:28:22 -070035 <!-- The clock -->
Anthony Chen54daefe2017-04-07 17:19:54 -070036 <include layout="@layout/quick_status_bar_header_system_icons" />
Rohan Shahd3cf7562018-02-23 11:12:28 -080037
38 <!-- Status icons within the panel itself (and not in the top-most status bar) -->
Evan Laird39254d42018-01-18 16:05:30 -050039 <include layout="@layout/quick_qs_status_icons" />
Jason Monkc34befb2015-10-07 16:40:02 -040040
Rohan Shahd3cf7562018-02-23 11:12:28 -080041 <!-- Layout containing tooltips, alarm text, etc. -->
42 <include layout="@layout/quick_settings_header_info" />
43
Jason Monkdeba7a42015-12-08 16:14:10 -050044 <com.android.systemui.qs.QuickQSPanel
45 android:id="@+id/quick_qs_panel"
Jason Monkdeba7a42015-12-08 16:14:10 -050046 android:layout_width="match_parent"
Beth Thibodeau07d20c32019-10-16 13:45:56 -040047 android:layout_height="wrap_content"
Evan Laird39254d42018-01-18 16:05:30 -050048 android:layout_below="@id/quick_qs_status_icons"
Jason Monk32508852017-01-18 09:17:13 -050049 android:accessibilityTraversalAfter="@+id/date_time_group"
50 android:accessibilityTraversalBefore="@id/expand_indicator"
Jason Monkdeba7a42015-12-08 16:14:10 -050051 android:clipChildren="false"
Julia Reynolds20aef8a2016-05-04 16:44:08 -040052 android:clipToPadding="false"
Julia Reynolds20aef8a2016-05-04 16:44:08 -040053 android:focusable="true"
Selim Cinek2a1cab12020-06-01 19:19:58 -070054 android:paddingBottom="10dp"
Jason Monk7b3d4e42017-05-30 12:47:10 -040055 android:importantForAccessibility="yes" />
Jason Monkdeba7a42015-12-08 16:14:10 -050056
Jason Monkc34befb2015-10-07 16:40:02 -040057 <TextView
58 android:id="@+id/header_debug_info"
Jason Monkc34befb2015-10-07 16:40:02 -040059 android:layout_width="wrap_content"
60 android:layout_height="wrap_content"
61 android:layout_gravity="center_vertical"
62 android:fontFamily="sans-serif-condensed"
Jason Monk32508852017-01-18 09:17:13 -050063 android:padding="2dp"
64 android:textColor="#00A040"
Jason Monkc34befb2015-10-07 16:40:02 -040065 android:textSize="11dp"
66 android:textStyle="bold"
Anthony Chen3cb3ad92016-12-01 10:58:47 -080067 android:visibility="invisible"/>
Jason Monkc34befb2015-10-07 16:40:02 -040068
Jason Monke5b770e2017-03-03 21:49:29 -050069</com.android.systemui.qs.QuickStatusBarHeader>