Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2018 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 | --> |
Fabian Kozynski | ceb057b | 2019-05-17 14:06:38 -0400 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 18 | android:id="@+id/header_text_container" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="@dimen/qs_header_tooltip_height" |
| 21 | android:layout_below="@id/quick_status_bar_system_icons" |
Aran Ink | 7dd05dc | 2019-05-31 11:47:23 -0400 | [diff] [blame] | 22 | android:visibility="invisible" |
Selim Cinek | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 23 | android:theme="@style/QSHeaderTheme" |
| 24 | android:forceHasOverlappingRendering="false"> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 25 | |
Fabian Kozynski | ceb057b | 2019-05-17 14:06:38 -0400 | [diff] [blame] | 26 | <com.android.systemui.qs.QSHeaderInfoLayout |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 27 | android:id="@+id/status_container" |
Selim Cinek | 2a1cab1 | 2020-06-01 19:19:58 -0700 | [diff] [blame] | 28 | android:layout_width="0dp" |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 29 | android:layout_weight="1" |
Fabian Kozynski | 895cc9b | 2019-05-21 10:06:44 -0400 | [diff] [blame] | 30 | android:layout_height="match_parent"> |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 31 | |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 32 | <LinearLayout |
| 33 | android:id = "@+id/alarm_container" |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 34 | android:layout_width="wrap_content" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 35 | android:layout_height="match_parent" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 36 | android:gravity="center_vertical" |
| 37 | android:focusable="true" |
| 38 | android:clickable="true"> |
| 39 | |
| 40 | <ImageView |
| 41 | android:id="@+id/next_alarm_icon" |
| 42 | android:layout_width="@dimen/qs_header_alarm_icon_size" |
| 43 | android:layout_height="@dimen/qs_header_alarm_icon_size" |
| 44 | android:src="@drawable/ic_alarm" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 45 | android:contentDescription="@string/accessibility_quick_settings_alarm_set" |
| 46 | android:visibility="gone"/> |
| 47 | |
Fabian Kozynski | 956b597 | 2019-05-21 15:30:52 -0400 | [diff] [blame] | 48 | <com.android.systemui.util.AutoMarqueeTextView |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 49 | android:id="@+id/next_alarm_text" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:singleLine="true" |
| 53 | android:ellipsize="marquee" |
| 54 | android:marqueeRepeatLimit="marquee_forever" |
| 55 | android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start" |
| 56 | android:textAppearance="@style/TextAppearance.QS.Status" |
| 57 | android:visibility="gone"/> |
| 58 | </LinearLayout> |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 59 | |
| 60 | <View |
| 61 | android:id="@+id/status_separator" |
| 62 | android:layout_width="@dimen/qs_header_separator_width" |
| 63 | android:layout_height="match_parent" |
| 64 | android:visibility="gone"/> |
| 65 | |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 66 | <LinearLayout |
| 67 | android:id = "@+id/ringer_container" |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 68 | android:layout_width="wrap_content" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 69 | android:layout_height="match_parent" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 70 | android:gravity="center_vertical" |
| 71 | android:focusable="true" |
| 72 | android:clickable="true"> |
| 73 | |
| 74 | <ImageView |
| 75 | android:id="@+id/ringer_mode_icon" |
| 76 | android:layout_width="@dimen/qs_header_alarm_icon_size" |
| 77 | android:layout_height="@dimen/qs_header_alarm_icon_size" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 78 | android:visibility="gone"/> |
| 79 | |
Fabian Kozynski | 956b597 | 2019-05-21 15:30:52 -0400 | [diff] [blame] | 80 | <com.android.systemui.util.AutoMarqueeTextView |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 81 | android:id="@+id/ringer_mode_text" |
| 82 | android:layout_width="wrap_content" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:singleLine="true" |
| 85 | android:ellipsize="marquee" |
| 86 | android:marqueeRepeatLimit="marquee_forever" |
| 87 | android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start" |
| 88 | android:textAppearance="@style/TextAppearance.QS.Status" |
| 89 | android:visibility="gone"/> |
| 90 | </LinearLayout> |
Fabian Kozynski | ceb057b | 2019-05-17 14:06:38 -0400 | [diff] [blame] | 91 | </com.android.systemui.qs.QSHeaderInfoLayout> |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 92 | |
Fabian Kozynski | 4e76d1f | 2019-02-25 16:30:04 -0500 | [diff] [blame] | 93 | <include layout="@layout/qs_carrier_group" |
| 94 | android:id="@+id/carrier_group" |
| 95 | android:layout_width="wrap_content" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 96 | android:layout_height="match_parent" |
Fabian Kozynski | ceb057b | 2019-05-17 14:06:38 -0400 | [diff] [blame] | 97 | android:layout_marginStart="@dimen/qs_status_separator" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 98 | android:layout_gravity="end|center_vertical" |
| 99 | android:focusable="false"/> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 100 | |
Fabian Kozynski | ceb057b | 2019-05-17 14:06:38 -0400 | [diff] [blame] | 101 | </LinearLayout> |