From f0dae2c5152814f3200ad124b889942e7840d6a2 Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Wed, 25 May 2016 14:35:48 -0700 Subject: [PATCH] Ellipsize Preference summaries Previously, if the summary ran longer than 10 lines, there was no indication to the user that it is cut off. Bug: 28872122 Change-Id: Ie216298a2865ee08c1049914c2b029d870481581 --- core/res/res/layout/preference_material.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/res/res/layout/preference_material.xml b/core/res/res/layout/preference_material.xml index bf0fda94838e9..871b99ca6679b 100644 --- a/core/res/res/layout/preference_material.xml +++ b/core/res/res/layout/preference_material.xml @@ -67,7 +67,8 @@ android:layout_alignStart="@id/title" android:textAppearance="?attr/textAppearanceListItemSecondary" android:textColor="?attr/textColorSecondary" - android:maxLines="10" /> + android:maxLines="10" + android:ellipsize="end" />