From 5db1a262a575f472f02352be9f2a3c7128d1b46c Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Fri, 5 Mar 2021 15:24:50 -0500 Subject: [PATCH] The title of a notification can take 2 lines when expanded. Bug: 181048615 Fixes: 181687830 Test: visual inspection Change-Id: I516c44d21ba6be6223bda191b8d4c22f6663a7a9 --- core/res/res/layout/notification_template_part_line1.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/res/res/layout/notification_template_part_line1.xml b/core/res/res/layout/notification_template_part_line1.xml index c86bc6334ee99..ca8fe7908e141 100644 --- a/core/res/res/layout/notification_template_part_line1.xml +++ b/core/res/res/layout/notification_template_part_line1.xml @@ -21,8 +21,7 @@ android:textAppearance="@style/TextAppearance.DeviceDefault.Notification.BigTitle" android:layout_width="match_parent" android:layout_height="wrap_content" - android:singleLine="true" - android:ellipsize="marquee" - android:fadingEdge="horizontal" + android:maxLines="2" + android:ellipsize="end" android:textAlignment="viewStart" />