From bdb754d25fccc27cce53301b0c9651faa7d65f0e Mon Sep 17 00:00:00 2001 From: Caitlin Cassidy Date: Wed, 15 Jun 2022 21:09:30 +0000 Subject: [PATCH] [Media TTT] Update text to take the rest of the width, so that it will spill onto a second line if it needs it. Fixes: 229558906 Fixes: 217230866 Test: manual (see screenshots in bug) Change-Id: I07d93c5f6f556b1fb174195398c4952a04e8fa55 --- packages/SystemUI/res/layout/media_ttt_chip.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/res/layout/media_ttt_chip.xml b/packages/SystemUI/res/layout/media_ttt_chip.xml index 4d24140abbf45..d88680669fe01 100644 --- a/packages/SystemUI/res/layout/media_ttt_chip.xml +++ b/packages/SystemUI/res/layout/media_ttt_chip.xml @@ -31,6 +31,8 @@ android:padding="@dimen/media_ttt_chip_outer_padding" android:background="@drawable/media_ttt_chip_background" android:layout_marginTop="20dp" + android:layout_marginStart="@dimen/notification_side_paddings" + android:layout_marginEnd="@dimen/notification_side_paddings" android:clipToPadding="false" android:gravity="center_vertical" android:alpha="0.0" @@ -46,8 +48,9 @@