Battery icon is too large

-sync layout from SystemUI

Bug: 141139595
Test: make -j42 RunSettingsRoboTests
Change-Id: I5e165e953682fcfdebf0d06475bb1abd171684d9
This commit is contained in:
timhypeng
2019-11-14 10:53:32 +08:00
parent eb3eb1fdb3
commit c71f996da9
4 changed files with 20 additions and 4 deletions

View File

@@ -53,8 +53,9 @@
android:orientation="horizontal">
<ImageView
android:id="@+id/bt_battery_icon"
android:layout_width="13dp"
android:layout_height="20dp"/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"/>
<TextView
android:id="@+id/bt_battery_summary"
style="@style/TextAppearance.EntityHeaderSummary"

View File

@@ -415,4 +415,8 @@
<!-- Header title size of advanced bluetooth device -->
<dimen name="advanced_bluetooth_header_title_text_size">16sp</dimen>
<!-- Battery meter icon size of advanced bluetooth device -->
<dimen name="advanced_bluetooth_battery_meter_width">7.5dp</dimen>
<dimen name="advanced_bluetooth_battery_meter_height">13dp</dimen>
</resources>