Dan Sandler | 055bb61 | 2017-02-08 16:21:49 -0800 | [diff] [blame] | 1 | <?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" |
Fabian Kozynski | 9ec687a | 2019-01-09 11:26:50 -0500 | [diff] [blame] | 25 | android:textAppearance="@style/TextAppearance.StatusBar.Clock" |
Dan Sandler | 055bb61 | 2017-02-08 16:21:49 -0800 | [diff] [blame] | 26 | android:textColor="?android:attr/textColorPrimary" |
| 27 | android:gravity="center_vertical|start" |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 28 | android:paddingStart="@dimen/battery_level_padding_start" |
Jason Monk | d12ed5b | 2017-08-31 15:23:32 -0400 | [diff] [blame] | 29 | android:importantForAccessibility="no" |
Dan Sandler | 055bb61 | 2017-02-08 16:21:49 -0800 | [diff] [blame] | 30 | /> |