blob: e52aa14abfa9ebb9b72b993469e1c1f9cece68c4 [file] [log] [blame]
Dan Sandler055bb612017-02-08 16:21:49 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2017 The Android Open Source Project
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License
16 -->
17
18<!-- Loaded into BatteryMeterView as necessary -->
19<TextView
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/battery_percentage_view"
22 android:layout_width="wrap_content"
23 android:layout_height="match_parent"
24 android:singleLine="true"
25 android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock"
26 android:textColor="?android:attr/textColorPrimary"
27 android:gravity="center_vertical|start"
Evan Laird058c8ae2018-01-12 14:26:10 -050028 android:paddingStart="@dimen/battery_level_padding_start"
Jason Monkd12ed5b2017-08-31 15:23:32 -040029 android:importantForAccessibility="no"
Dan Sandler055bb612017-02-08 16:21:49 -080030 />