blob: c28dc50cc1dc2b1a77fd491b5cba57c3deda3c8f [file] [log] [blame]
Jorim Jaggi4538027d2014-07-30 15:43:13 +02001<?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright (C) 2014 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 -->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Fabian Kozynskibca09b72019-04-04 15:57:42 -040018 xmlns:systemui="http://schemas.android.com/apk/res-auto"
Jorim Jaggi4538027d2014-07-30 15:43:13 +020019 android:id="@+id/system_icons"
Evan Lairde4314892022-01-19 11:13:40 -050020 android:layout_width="wrap_content"
Michal Brzezinski094bdb42023-06-21 09:34:25 +020021 android:layout_height="wrap_content"
22 android:paddingBottom="@dimen/status_bar_icons_padding_bottom"
23 android:paddingTop="@dimen/status_bar_icons_padding_top"
24 android:paddingStart="@dimen/status_bar_icons_padding_start"
25 android:paddingEnd="@dimen/status_bar_icons_padding_end"
Jorim Jaggi4538027d2014-07-30 15:43:13 +020026 android:gravity="center_vertical">
27
Evan Laird058c8ae2018-01-12 14:26:10 -050028 <com.android.systemui.statusbar.phone.StatusIconContainer android:id="@+id/statusIcons"
29 android:layout_width="0dp"
30 android:layout_weight="1"
Michal Brzezinski094bdb42023-06-21 09:34:25 +020031 android:layout_height="wrap_content"
Evan Laird39ea8102018-05-18 19:49:07 -040032 android:paddingEnd="@dimen/signal_cluster_battery_padding"
Jorim Jaggi4538027d2014-07-30 15:43:13 +020033 android:gravity="center_vertical"
34 android:orientation="horizontal"/>
35
Josh67b221c2024-06-11 11:22:56 +000036 <!-- PaddingEnd is added to balance hover padding, compensating for paddingStart in statusIcons.
37 See b/339589733 -->
Caitlin Cassidy0f2513c2021-07-20 17:17:52 +000038 <com.android.systemui.battery.BatteryMeterView android:id="@+id/battery"
Michal Brzezinski094bdb42023-06-21 09:34:25 +020039 android:layout_height="wrap_content"
Dan Sandler055bb612017-02-08 16:21:49 -080040 android:layout_width="wrap_content"
Evan Lairdd783c8a2018-05-03 17:00:25 -040041 android:clipToPadding="false"
Fabian Kozynskibca09b72019-04-04 15:57:42 -040042 android:clipChildren="false"
Josh67b221c2024-06-11 11:22:56 +000043 android:paddingEnd="@dimen/status_bar_battery_end_padding"
Fabian Kozynskibca09b72019-04-04 15:57:42 -040044 systemui:textAppearance="@style/TextAppearance.StatusBar.Clock" />
Evan Laird2174f552020-05-01 13:46:39 -040045</LinearLayout>