forked from LeddaZ/frameworks_base
46 lines
2.1 KiB
XML
46 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (C) 2014 The Android Open Source Project
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/system_icons"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="@dimen/status_bar_icons_padding_bottom"
|
|
android:paddingTop="@dimen/status_bar_icons_padding_top"
|
|
android:paddingStart="@dimen/status_bar_icons_padding_start"
|
|
android:paddingEnd="@dimen/status_bar_icons_padding_end"
|
|
android:gravity="center_vertical">
|
|
|
|
<com.android.systemui.statusbar.phone.StatusIconContainer android:id="@+id/statusIcons"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:paddingEnd="@dimen/signal_cluster_battery_padding"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"/>
|
|
|
|
<!-- PaddingEnd is added to balance hover padding, compensating for paddingStart in statusIcons.
|
|
See b/339589733 -->
|
|
<com.android.systemui.battery.BatteryMeterView android:id="@+id/battery"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:clipChildren="false"
|
|
android:paddingEnd="@dimen/status_bar_battery_end_padding"
|
|
systemui:textAppearance="@style/TextAppearance.StatusBar.Clock" />
|
|
</LinearLayout>
|