From bc7539ed71d04524963fef73effe876a6ea400b0 Mon Sep 17 00:00:00 2001 From: Beth Thibodeau Date: Wed, 28 Apr 2021 15:54:52 -0400 Subject: [PATCH] Update power menu text Marquee for long text and increase size to match spec Fixes: 186005103 Fixes: 185673140 Test: visual Change-Id: I50774cc06f75f420baab78dc51328a2bdfae14bc --- .../SystemUI/res/layout/global_actions_grid_item_lite.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/SystemUI/res/layout/global_actions_grid_item_lite.xml b/packages/SystemUI/res/layout/global_actions_grid_item_lite.xml index 9ab1ac80f0487..e1ee06dc509ff 100644 --- a/packages/SystemUI/res/layout/global_actions_grid_item_lite.xml +++ b/packages/SystemUI/res/layout/global_actions_grid_item_lite.xml @@ -35,13 +35,11 @@ android:id="@*android:id/message" android:layout_width="match_parent" android:layout_height="wrap_content" - android:ellipsize="end" + android:ellipsize="marquee" android:marqueeRepeatLimit="marquee_forever" - android:maxLines="2" - android:textSize="12sp" + android:singleLine="true" + android:textSize="14sp" android:gravity="center" android:textColor="@color/global_actions_lite_text" - android:breakStrategy="high_quality" - android:hyphenationFrequency="full" android:textAppearance="?android:attr/textAppearanceSmall" />