blob: 44f52efd175e051ba2985750cfeb74d9eacfff7e [file] [log] [blame]
Evan Laird39254d42018-01-18 16:05:30 -05001<?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 Laird95896952018-01-22 19:30:05 -050016<LinearLayout
Evan Laird39254d42018-01-18 16:05:30 -050017 xmlns:android="http://schemas.android.com/apk/res/android"
Rohan Shahbb662cc2018-04-06 17:57:00 -070018 xmlns:systemui="http://schemas.android.com/apk/res-auto"
Evan Laird39254d42018-01-18 16:05:30 -050019 android:id="@+id/quick_qs_status_icons"
20 android:layout_width="match_parent"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040021 android:layout_height="wrap_content"
Fabian Kozynskicf1747b2019-04-26 10:08:46 -040022 android:paddingTop="@dimen/qs_header_top_padding"
23 android:paddingBottom="@dimen/qs_header_bottom_padding"
Evan Laird39254d42018-01-18 16:05:30 -050024 android:layout_below="@id/quick_status_bar_system_icons"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040025 android:clipChildren="false"
26 android:clipToPadding="false"
Fabian Kozynski655ec8b2019-03-19 10:16:18 -040027 android:minHeight="20dp"
28 android:clickable="false"
Fabian Kozynskif86df992019-04-22 14:23:47 -040029 android:focusable="true"
30 android:theme="@style/QSHeaderTheme">
Evan Laird39254d42018-01-18 16:05:30 -050031
Rohan Shahbb662cc2018-04-06 17:57:00 -070032 <com.android.systemui.statusbar.policy.DateView
33 android:id="@+id/date"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
Fabian Kozynski9a6fe822019-04-19 16:52:49 -040036 android:layout_gravity="start|center_vertical"
Rohan Shahbb662cc2018-04-06 17:57:00 -070037 android:gravity="center_vertical"
38 android:singleLine="true"
Fabian Kozynskibca09b72019-04-04 15:57:42 -040039 android:textAppearance="@style/TextAppearance.QS.Status"
Rohan Shahbb662cc2018-04-06 17:57:00 -070040 systemui:datePattern="@string/abbrev_wday_month_day_no_year_alarm" />
41
Evan Laird95896952018-01-22 19:30:05 -050042 <com.android.systemui.statusbar.phone.StatusIconContainer
43 android:id="@+id/statusIcons"
44 android:layout_width="0dp"
45 android:layout_height="match_parent"
Evan Laird4bf21df2018-10-22 14:24:32 -040046 android:layout_weight="1"
47 android:paddingEnd="@dimen/signal_cluster_battery_padding" />
48
49 <com.android.systemui.BatteryMeterView
50 android:id="@+id/batteryRemainingIcon"
51 android:layout_height="match_parent"
52 android:layout_width="wrap_content"
Fabian Kozynskibca09b72019-04-04 15:57:42 -040053 systemui:textAppearance="@style/TextAppearance.QS.Status"
Evan Laird4bf21df2018-10-22 14:24:32 -040054 android:paddingEnd="2dp" />
55
Evan Laird95896952018-01-22 19:30:05 -050056</LinearLayout>