Merge "Update the colors for bubbles settings based on new spec" into udc-dev
This commit is contained in:
@@ -168,7 +168,7 @@ public class BubblePreference extends Preference implements View.OnClickListener
|
||||
mView.setSelected(selected);
|
||||
|
||||
int colorResId = selected
|
||||
? com.android.internal.R.attr.materialColorOnPrimaryContainer
|
||||
? com.android.internal.R.attr.materialColorOnSecondaryContainer
|
||||
: com.android.internal.R.attr.materialColorOnSurfaceVariant;
|
||||
ColorStateList stateList = Utils.getColorAttr(context, colorResId);
|
||||
mImageView.setImageTintList(stateList);
|
||||
|
Reference in New Issue
Block a user