blob: 5b7e7e7d59a39d8b9f16def71e249b05192b44a1 [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"
Fabian Kozynskib1aee812019-04-04 14:17:48 -040024 android:paddingStart="@dimen/status_bar_padding_start"
25 android:paddingEnd="@dimen/status_bar_padding_end"
Evan Laird39254d42018-01-18 16:05:30 -050026 android:layout_below="@id/quick_status_bar_system_icons"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040027 android:clipChildren="false"
28 android:clipToPadding="false"
Fabian Kozynski655ec8b2019-03-19 10:16:18 -040029 android:minHeight="20dp"
30 android:clickable="false"
Fabian Kozynskif86df992019-04-22 14:23:47 -040031 android:focusable="true"
32 android:theme="@style/QSHeaderTheme">
Evan Laird39254d42018-01-18 16:05:30 -050033
Rohan Shahbb662cc2018-04-06 17:57:00 -070034 <com.android.systemui.statusbar.policy.DateView
35 android:id="@+id/date"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
Fabian Kozynski9a6fe822019-04-19 16:52:49 -040038 android:layout_gravity="start|center_vertical"
Rohan Shahbb662cc2018-04-06 17:57:00 -070039 android:gravity="center_vertical"
40 android:singleLine="true"
Fabian Kozynskibca09b72019-04-04 15:57:42 -040041 android:textAppearance="@style/TextAppearance.QS.Status"
Rohan Shahbb662cc2018-04-06 17:57:00 -070042 systemui:datePattern="@string/abbrev_wday_month_day_no_year_alarm" />
43
Evan Laird95896952018-01-22 19:30:05 -050044 <com.android.systemui.statusbar.phone.StatusIconContainer
45 android:id="@+id/statusIcons"
46 android:layout_width="0dp"
47 android:layout_height="match_parent"
Evan Laird4bf21df2018-10-22 14:24:32 -040048 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 Kozynskibca09b72019-04-04 15:57:42 -040055 systemui:textAppearance="@style/TextAppearance.QS.Status"
Evan Laird4bf21df2018-10-22 14:24:32 -040056 android:paddingEnd="2dp" />
57
Evan Laird95896952018-01-22 19:30:05 -050058</LinearLayout>