Allow settings preference title to span over multiple lines.
- add singleLineTitle=false to SettingsPreference style, so that it will not confined the title to a single line. - remove the custom multi line title from DividerPreference and MasterSwitchPreference. Change-Id: I5a78d2cd6ac00c4482e252b0789fd2d265bd9adf Fix: 34886787 Test: manual
This commit is contained in:
@@ -165,7 +165,6 @@ public class AppNotificationSettings extends NotificationSettingsBase {
|
||||
channelPref.setKey(channel.getId());
|
||||
channelPref.setTitle(channel.getName());
|
||||
channelPref.setChecked(channel.getImportance() != IMPORTANCE_NONE);
|
||||
channelPref.setMultiLine(true);
|
||||
channelPref.setSummary(getImportanceSummary(channel.getImportance()));
|
||||
Bundle channelArgs = new Bundle();
|
||||
channelArgs.putInt(AppInfoBase.ARG_PACKAGE_UID, mUid);
|
||||
|
Reference in New Issue
Block a user