Heads-up: Fix up layout for blacklisted/stoplisted app lists
When apps were added to blacklist/stoplist, there was nothing in place to help things look halfway decent. We added a layout in order to accomplish a nicer, cleaner looking list. Before: https://i.imgur.com/7muwWZ7.jpg After: https://i.imgur.com/DzgVOjX.jpg Signed-off-by: calebcabob <calphonic@gmail.com> Change-Id: Ic853817f7cf1765a282324a23af11f72666e2670 Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -336,6 +336,7 @@ public class HeadsUpSettings extends SettingsPreferenceFragment
|
||||
pref.setTitle(info.applicationInfo.loadLabel(mPackageManager));
|
||||
pref.setIcon(info.applicationInfo.loadIcon(mPackageManager));
|
||||
pref.setPersistent(false);
|
||||
pref.setLayoutResource(R.layout.headsup_preference_applist);
|
||||
pref.setOnPreferenceClickListener(this);
|
||||
return pref;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user