From b6c021ea81e0f53cf6c929774a2db7e18a8b9e5a Mon Sep 17 00:00:00 2001 From: Yi-Ling Chuang Date: Tue, 20 Apr 2021 16:17:53 +0800 Subject: [PATCH] Fix the ellipsis format For the truncated text, we should use 3-dots rather than 2-dots. Fixes: 185142659 Test: rebuild and launch Do not disturb behaviour page. Change-Id: I42554eeeee5ae13e01582df159d99fbee2c62cbc --- .../RadioButtonPreference/res/layout/preference_radio.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/SettingsLib/RadioButtonPreference/res/layout/preference_radio.xml b/packages/SettingsLib/RadioButtonPreference/res/layout/preference_radio.xml index 5ff0dc7a84f4d..403e417c1bf2d 100644 --- a/packages/SettingsLib/RadioButtonPreference/res/layout/preference_radio.xml +++ b/packages/SettingsLib/RadioButtonPreference/res/layout/preference_radio.xml @@ -65,9 +65,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceListItem" - android:ellipsize="marquee" - android:fadingEdge="horizontal"/> + android:textAppearance="?android:attr/textAppearanceListItem"/>