FileDocCategorySizeDatePackage
TintCheckedTextView.javaAPI DocAndroid 5.1 API1827Thu Mar 12 22:22:56 GMT 2015android.support.v7.internal.widget

TintCheckedTextView

public class TintCheckedTextView extends android.widget.CheckedTextView
An tint aware {@link android.widget.CheckedTextView}.
hide

Fields Summary
private static final int[]
TINT_ATTRS
private final TintManager
mTintManager
Constructors Summary
public TintCheckedTextView(android.content.Context context)


       
        this(context, null);
    
public TintCheckedTextView(android.content.Context context, android.util.AttributeSet attrs)

        this(context, attrs, android.R.attr.checkedTextViewStyle);
    
public TintCheckedTextView(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)

        super(context, attrs, defStyleAttr);

        TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
                defStyleAttr, 0);
        setCheckMarkDrawable(a.getDrawable(0));
        a.recycle();

        mTintManager = a.getTintManager();
    
Methods Summary
public voidsetCheckMarkDrawable(int resid)

        setCheckMarkDrawable(mTintManager.getDrawable(resid));