TintCheckedTextViewpublic class TintCheckedTextView extends android.widget.CheckedTextView An tint aware {@link android.widget.CheckedTextView}. |
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 void | setCheckMarkDrawable(int resid)
setCheckMarkDrawable(mTintManager.getDrawable(resid));
|
|