Loading src/com/android/settings/widget/HighlightableTopLevelPreferenceAdapter.java +2 −6 Original line number Diff line number Diff line Loading @@ -82,11 +82,11 @@ public class HighlightableTopLevelPreferenceAdapter extends PreferenceGroupAdapt mTitleColorNormal = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorPrimary); mTitleColorHighlight = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorPrimaryInverse); android.R.attr.textColorPrimary); mSummaryColorNormal = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorSecondary); mSummaryColorHighlight = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorSecondaryInverse); android.R.attr.textColorSecondary); mIconColorNormal = Utils.getHomepageIconColor(mContext); mIconColorHighlight = Utils.getHomepageIconColorHighlight(mContext); } Loading Loading @@ -237,10 +237,6 @@ public class HighlightableTopLevelPreferenceAdapter extends PreferenceGroupAdapt v.setBackgroundResource(mHighlightBackgroundRes); ((TextView) v.findViewById(android.R.id.title)).setTextColor(mTitleColorHighlight); ((TextView) v.findViewById(android.R.id.summary)).setTextColor(mSummaryColorHighlight); final Drawable drawable = ((ImageView) v.findViewById(android.R.id.icon)).getDrawable(); if (drawable != null) { drawable.setTint(mIconColorHighlight); } } private void removeHighlightBackground(PreferenceViewHolder holder) { Loading Loading
src/com/android/settings/widget/HighlightableTopLevelPreferenceAdapter.java +2 −6 Original line number Diff line number Diff line Loading @@ -82,11 +82,11 @@ public class HighlightableTopLevelPreferenceAdapter extends PreferenceGroupAdapt mTitleColorNormal = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorPrimary); mTitleColorHighlight = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorPrimaryInverse); android.R.attr.textColorPrimary); mSummaryColorNormal = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorSecondary); mSummaryColorHighlight = Utils.getColorAttrDefaultColor(mContext, android.R.attr.textColorSecondaryInverse); android.R.attr.textColorSecondary); mIconColorNormal = Utils.getHomepageIconColor(mContext); mIconColorHighlight = Utils.getHomepageIconColorHighlight(mContext); } Loading Loading @@ -237,10 +237,6 @@ public class HighlightableTopLevelPreferenceAdapter extends PreferenceGroupAdapt v.setBackgroundResource(mHighlightBackgroundRes); ((TextView) v.findViewById(android.R.id.title)).setTextColor(mTitleColorHighlight); ((TextView) v.findViewById(android.R.id.summary)).setTextColor(mSummaryColorHighlight); final Drawable drawable = ((ImageView) v.findViewById(android.R.id.icon)).getDrawable(); if (drawable != null) { drawable.setTint(mIconColorHighlight); } } private void removeHighlightBackground(PreferenceViewHolder holder) { Loading