From dbe6bd39840a2c09e5d436148f7c5ae4c1f98d8c Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Wed, 26 Jul 2017 11:24:54 -0700 Subject: [PATCH] Set minLines for battery header text So the header won't grow/shrink when the text changes. Bug: 64065456 Test: Build Change-Id: I96bb00e81d677b1efd55afbfe5f23024d6afd71b --- res/layout/battery_header.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/battery_header.xml b/res/layout/battery_header.xml index d59476cf26b..db90e2e0fc8 100644 --- a/res/layout/battery_header.xml +++ b/res/layout/battery_header.xml @@ -47,6 +47,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" + android:minLines="2" android:textAppearance="@android:style/TextAppearance.Material.Small"/>