From a8957e15cc826a35aaf16cd473dce5036ef24953 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Mon, 26 Jun 2017 18:40:49 -0700 Subject: [PATCH] Update the UI for battery header 1. Make battery icon align to the end and make text layout take all the other space. 2. Update the spec based on red line. Bug: 63037934 Test: Screenshot Change-Id: I1adbf5ce3e54712cbdc276db2357c7a24b48fe65 --- res/layout/battery_header.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/res/layout/battery_header.xml b/res/layout/battery_header.xml index b7a8199163c..d59476cf26b 100644 --- a/res/layout/battery_header.xml +++ b/res/layout/battery_header.xml @@ -28,15 +28,15 @@ style="@style/EntityHeader"> @@ -61,7 +61,6 @@ android:id="@+id/battery_header_icon" android:layout_width="@dimen/battery_meter_width" android:layout_height="@dimen/battery_meter_height" - android:layout_gravity="end" - android:layout_marginEnd="24dp"/> + android:layout_marginEnd="16dp"/> \ No newline at end of file