Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Jason Monk | 94a1bf6 | 2015-10-20 08:43:36 -0700 | [diff] [blame] | 3 | ** Copyright 2012, The Android Open Source Project |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 4 | ** |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 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 |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 8 | ** |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 9 | ** http://www.apache.org/licenses/LICENSE-2.0 |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 10 | ** |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 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 |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 15 | ** limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <!-- Extends RelativeLayout --> |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 19 | <com.android.systemui.qs.QuickStatusBarHeader |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 21 | android:id="@+id/header" |
Jason Monk | cd4e382b | 2016-05-04 16:08:08 -0400 | [diff] [blame] | 22 | android:layout_width="match_parent" |
Evan Laird | 19bf52c | 2018-01-24 19:54:58 -0500 | [diff] [blame] | 23 | android:layout_height="@*android:dimen/quick_qs_total_height" |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 24 | android:layout_gravity="@integer/notification_panel_layout_gravity" |
Amin Shaikh | ff815c2 | 2018-03-29 14:38:59 -0400 | [diff] [blame] | 25 | android:background="@android:color/transparent" |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 26 | android:baselineAligned="false" |
Fabian Kozynski | 1c36a5c | 2018-12-12 13:52:47 -0500 | [diff] [blame] | 27 | android:clickable="true" |
Jason Monk | 3250885 | 2017-01-18 09:17:13 -0500 | [diff] [blame] | 28 | android:clipChildren="false" |
| 29 | android:clipToPadding="false" |
| 30 | android:paddingTop="0dp" |
| 31 | android:paddingEnd="0dp" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 32 | android:paddingStart="0dp" |
Fabian Kozynski | 1c36a5c | 2018-12-12 13:52:47 -0500 | [diff] [blame] | 33 | android:elevation="4dp" |
| 34 | android:importantForAccessibility="no" > |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 35 | |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 36 | <include layout="@layout/quick_status_bar_header_system_icons" /> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 37 | |
| 38 | <!-- Status icons within the panel itself (and not in the top-most status bar) --> |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 39 | <include layout="@layout/quick_qs_status_icons" /> |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 40 | |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 41 | <!-- Layout containing tooltips, alarm text, etc. --> |
| 42 | <include layout="@layout/quick_settings_header_info" /> |
| 43 | |
Jason Monk | deba7a4 | 2015-12-08 16:14:10 -0500 | [diff] [blame] | 44 | <com.android.systemui.qs.QuickQSPanel |
| 45 | android:id="@+id/quick_qs_panel" |
Jason Monk | deba7a4 | 2015-12-08 16:14:10 -0500 | [diff] [blame] | 46 | android:layout_width="match_parent" |
Jason Monk | 7b3d4e4 | 2017-05-30 12:47:10 -0400 | [diff] [blame] | 47 | android:layout_height="48dp" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 48 | android:layout_below="@id/quick_qs_status_icons" |
Amin Shaikh | d620def | 2018-02-27 16:52:53 -0500 | [diff] [blame] | 49 | android:layout_marginStart="@dimen/qs_header_tile_margin_horizontal" |
| 50 | android:layout_marginEnd="@dimen/qs_header_tile_margin_horizontal" |
Jason Monk | 3250885 | 2017-01-18 09:17:13 -0500 | [diff] [blame] | 51 | android:accessibilityTraversalAfter="@+id/date_time_group" |
| 52 | android:accessibilityTraversalBefore="@id/expand_indicator" |
Jason Monk | deba7a4 | 2015-12-08 16:14:10 -0500 | [diff] [blame] | 53 | android:clipChildren="false" |
Julia Reynolds | 20aef8a | 2016-05-04 16:44:08 -0400 | [diff] [blame] | 54 | android:clipToPadding="false" |
Julia Reynolds | 20aef8a | 2016-05-04 16:44:08 -0400 | [diff] [blame] | 55 | android:focusable="true" |
Jason Monk | 7b3d4e4 | 2017-05-30 12:47:10 -0400 | [diff] [blame] | 56 | android:importantForAccessibility="yes" /> |
Jason Monk | deba7a4 | 2015-12-08 16:14:10 -0500 | [diff] [blame] | 57 | |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 58 | <com.android.systemui.statusbar.AlphaOptimizedImageView |
| 59 | android:id="@+id/qs_detail_header_progress" |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 60 | android:layout_width="match_parent" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:layout_alignParentBottom="true" |
Jason Monk | 3250885 | 2017-01-18 09:17:13 -0500 | [diff] [blame] | 63 | android:alpha="0" |
| 64 | android:background="@color/qs_detail_progress_track" |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 65 | android:src="@drawable/indeterminate_anim"/> |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 66 | |
| 67 | <TextView |
| 68 | android:id="@+id/header_debug_info" |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 69 | android:layout_width="wrap_content" |
| 70 | android:layout_height="wrap_content" |
| 71 | android:layout_gravity="center_vertical" |
| 72 | android:fontFamily="sans-serif-condensed" |
Jason Monk | 3250885 | 2017-01-18 09:17:13 -0500 | [diff] [blame] | 73 | android:padding="2dp" |
| 74 | android:textColor="#00A040" |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 75 | android:textSize="11dp" |
| 76 | android:textStyle="bold" |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 77 | android:visibility="invisible"/> |
Jason Monk | c34befb | 2015-10-07 16:40:02 -0400 | [diff] [blame] | 78 | |
Jason Monk | e5b770e | 2017-03-03 21:49:29 -0500 | [diff] [blame] | 79 | </com.android.systemui.qs.QuickStatusBarHeader> |