From 9c780d495b2a145c53564729039372df1ef429aa Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 25 Sep 2017 15:41:23 -0700 Subject: Shorter notification text on AoD Change-Id: I961c7348d6ce2389c9ac0fba980237548eaf26c9 Fixes: 66242485 Test: Send notification with big text, look at AoD --- core/res/res/layout/notification_template_material_ambient.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/res/res/layout/notification_template_material_ambient.xml b/core/res/res/layout/notification_template_material_ambient.xml index 76b3528d26fe..ee5c758cc130 100644 --- a/core/res/res/layout/notification_template_material_ambient.xml +++ b/core/res/res/layout/notification_template_material_ambient.xml @@ -70,6 +70,8 @@ android:textSize="16sp" android:textColor="#eeffffff" android:layout_marginTop="4dp" + android:ellipsize="end" + android:maxLines="7" /> -- cgit v1.2.3-59-g8ed1b