From edec7dc6eac35ec7b906b5b06c9ef2efbcd85139 Mon Sep 17 00:00:00 2001 From: Edgar Wang Date: Fri, 14 May 2021 10:53:10 +0800 Subject: [PATCH] Remove the maxLines of FooterPreference. - The exception is reviewed by UX, so we should not limit the lines. Bug: 186544453 Test: manual Change-Id: I85d64609e6799ce05fa2a1a9167d8f94f28a3c75 --- .../FooterPreference/res/layout-v31/preference_footer.xml | 1 - .../FooterPreference/res/layout/preference_footer.xml | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml b/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml index 205485d761453..3b50acc924c59 100644 --- a/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml +++ b/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml @@ -49,7 +49,6 @@ android:layout_height="wrap_content" android:paddingBottom="16dp" android:paddingTop="16dp" - android:maxLines="10" android:textColor="?android:attr/textColorSecondary" android:ellipsize="marquee" /> diff --git a/packages/SettingsLib/FooterPreference/res/layout/preference_footer.xml b/packages/SettingsLib/FooterPreference/res/layout/preference_footer.xml index 7567c170c41de..87e8358617fed 100644 --- a/packages/SettingsLib/FooterPreference/res/layout/preference_footer.xml +++ b/packages/SettingsLib/FooterPreference/res/layout/preference_footer.xml @@ -48,7 +48,6 @@ android:layout_height="wrap_content" android:paddingBottom="16dp" android:paddingTop="16dp" - android:maxLines="10" android:textColor="?android:attr/textColorSecondary" android:ellipsize="marquee" />