Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
Evan Laird | 9589695 | 2018-01-22 19:30:05 -0500 | [diff] [blame] | 16 | <LinearLayout |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Rohan Shah | bb662cc | 2018-04-06 17:57:00 -0700 | [diff] [blame] | 18 | xmlns:systemui="http://schemas.android.com/apk/res-auto" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 19 | android:id="@+id/quick_qs_status_icons" |
| 20 | android:layout_width="match_parent" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 21 | android:layout_height="wrap_content" |
Fabian Kozynski | cf1747b | 2019-04-26 10:08:46 -0400 | [diff] [blame] | 22 | android:paddingTop="@dimen/qs_header_top_padding" |
| 23 | android:paddingBottom="@dimen/qs_header_bottom_padding" |
Fabian Kozynski | b1aee81 | 2019-04-04 14:17:48 -0400 | [diff] [blame] | 24 | android:paddingStart="@dimen/status_bar_padding_start" |
| 25 | android:paddingEnd="@dimen/status_bar_padding_end" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 26 | android:layout_below="@id/quick_status_bar_system_icons" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 27 | android:clipChildren="false" |
| 28 | android:clipToPadding="false" |
Fabian Kozynski | 655ec8b | 2019-03-19 10:16:18 -0400 | [diff] [blame] | 29 | android:minHeight="20dp" |
| 30 | android:clickable="false" |
Fabian Kozynski | f86df99 | 2019-04-22 14:23:47 -0400 | [diff] [blame] | 31 | android:focusable="true" |
| 32 | android:theme="@style/QSHeaderTheme"> |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 33 | |
Rohan Shah | bb662cc | 2018-04-06 17:57:00 -0700 | [diff] [blame] | 34 | <com.android.systemui.statusbar.policy.DateView |
| 35 | android:id="@+id/date" |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
Fabian Kozynski | 9a6fe82 | 2019-04-19 16:52:49 -0400 | [diff] [blame] | 38 | android:layout_gravity="start|center_vertical" |
Rohan Shah | bb662cc | 2018-04-06 17:57:00 -0700 | [diff] [blame] | 39 | android:gravity="center_vertical" |
| 40 | android:singleLine="true" |
Fabian Kozynski | bca09b7 | 2019-04-04 15:57:42 -0400 | [diff] [blame] | 41 | android:textAppearance="@style/TextAppearance.QS.Status" |
Rohan Shah | bb662cc | 2018-04-06 17:57:00 -0700 | [diff] [blame] | 42 | systemui:datePattern="@string/abbrev_wday_month_day_no_year_alarm" /> |
| 43 | |
Evan Laird | 9589695 | 2018-01-22 19:30:05 -0500 | [diff] [blame] | 44 | <com.android.systemui.statusbar.phone.StatusIconContainer |
| 45 | android:id="@+id/statusIcons" |
| 46 | android:layout_width="0dp" |
| 47 | android:layout_height="match_parent" |
Evan Laird | 4bf21df | 2018-10-22 14:24:32 -0400 | [diff] [blame] | 48 | android:layout_weight="1" |
| 49 | android:paddingEnd="@dimen/signal_cluster_battery_padding" /> |
| 50 | |
| 51 | <com.android.systemui.BatteryMeterView |
| 52 | android:id="@+id/batteryRemainingIcon" |
| 53 | android:layout_height="match_parent" |
| 54 | android:layout_width="wrap_content" |
Fabian Kozynski | bca09b7 | 2019-04-04 15:57:42 -0400 | [diff] [blame] | 55 | systemui:textAppearance="@style/TextAppearance.QS.Status" |
Evan Laird | 4bf21df | 2018-10-22 14:24:32 -0400 | [diff] [blame] | 56 | android:paddingEnd="2dp" /> |
| 57 | |
Evan Laird | 9589695 | 2018-01-22 19:30:05 -0500 | [diff] [blame] | 58 | </LinearLayout> |