Make account preference icons bigger.

Use the regular preference layout for AccountTypePreference so that the
icon size will be the standard size.

Change-Id: I58a9e2d02b94f5abd9c8bb546f3d4e2984b3d6c6
Fix: 63660734
Test: visual
This commit is contained in:
Doris Ling
2017-08-02 15:21:50 -07:00
parent e156d9a59f
commit d1e8e5394c

View File

@@ -72,7 +72,6 @@ public class AccountTypePreference extends Preference implements OnPreferenceCli
String titleResPackageName, int titleResId, CharSequence summary, String fragment, String titleResPackageName, int titleResId, CharSequence summary, String fragment,
Bundle fragmentArguments, Drawable icon) { Bundle fragmentArguments, Drawable icon) {
super(context); super(context);
setLayoutResource(R.layout.preference_small_icon);
mTitle = account.name; mTitle = account.name;
mTitleResPackageName = titleResPackageName; mTitleResPackageName = titleResPackageName;
mTitleResId = titleResId; mTitleResId = titleResId;