From 0c7aa3d672c26a8f1453759605dba7c26c77e169 Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Tue, 15 Jun 2021 09:38:09 -0400 Subject: [PATCH] Do not use ellipsize=marquee in notification layouts. Fixes: 179105376 Test: manual Change-Id: I46491a1a866970ff570da54bf23600d53611359a --- core/res/res/layout/notification_template_material_base.xml | 2 +- core/res/res/layout/notification_template_material_media.xml | 2 +- .../res/res/layout/notification_template_material_messaging.xml | 2 +- core/res/res/layout/notification_template_text.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/res/res/layout/notification_template_material_base.xml b/core/res/res/layout/notification_template_material_base.xml index 614779a792532..c6983ae5e0453 100644 --- a/core/res/res/layout/notification_template_material_base.xml +++ b/core/res/res/layout/notification_template_material_base.xml @@ -93,7 +93,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/notification_header_separating_margin" - android:ellipsize="marquee" + android:ellipsize="end" android:fadingEdge="horizontal" android:singleLine="true" android:textAlignment="viewStart" diff --git a/core/res/res/layout/notification_template_material_media.xml b/core/res/res/layout/notification_template_material_media.xml index 2991b1706a649..95ddc2e4ea796 100644 --- a/core/res/res/layout/notification_template_material_media.xml +++ b/core/res/res/layout/notification_template_material_media.xml @@ -93,7 +93,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/notification_header_separating_margin" - android:ellipsize="marquee" + android:ellipsize="end" android:fadingEdge="horizontal" android:singleLine="true" android:textAlignment="viewStart" diff --git a/core/res/res/layout/notification_template_material_messaging.xml b/core/res/res/layout/notification_template_material_messaging.xml index 3564f9755a5de..bef1d0b319b41 100644 --- a/core/res/res/layout/notification_template_material_messaging.xml +++ b/core/res/res/layout/notification_template_material_messaging.xml @@ -119,7 +119,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/notification_header_separating_margin" - android:ellipsize="marquee" + android:ellipsize="end" android:fadingEdge="horizontal" android:singleLine="true" android:textAlignment="viewStart" diff --git a/core/res/res/layout/notification_template_text.xml b/core/res/res/layout/notification_template_text.xml index 4920c7953d659..7b834a4eca112 100644 --- a/core/res/res/layout/notification_template_text.xml +++ b/core/res/res/layout/notification_template_text.xml @@ -21,7 +21,7 @@ android:layout_height="@dimen/notification_text_height" android:layout_gravity="top" android:layout_marginTop="@dimen/notification_text_margin_top" - android:ellipsize="marquee" + android:ellipsize="end" android:fadingEdge="horizontal" android:gravity="top" android:singleLine="true"