summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff DeCew <jeffdq@google.com> 2021-03-05 15:24:50 -0500
committer Jeff DeCew <jeffdq@google.com> 2021-03-06 15:31:07 -0500
commit5db1a262a575f472f02352be9f2a3c7128d1b46c (patch)
tree1fc5df31ed12a751265b758ffb0bf4dd9da874f0
parent8eb955427a53664f9ec30fa2c7860f75dd280bbf (diff)
The title of a notification can take 2 lines when expanded.
Bug: 181048615 Fixes: 181687830 Test: visual inspection Change-Id: I516c44d21ba6be6223bda191b8d4c22f6663a7a9
-rw-r--r--core/res/res/layout/notification_template_part_line1.xml5
1 files 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 c86bc6334ee9..ca8fe7908e14 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"
/>