CheckedTextView

Class of android.widget · CheckedTextView.java · Android's reference

public class CheckedTextView extends TextView implements Checkable

CheckedTextView ← TextView ← View

A text view with a checked state and a check mark drawable at its end, for the items of a choice list.

Constructors

public CheckedTextView(Context context) source
public CheckedTextView(Context context, AttributeSet attrs) source
public CheckedTextView(Context context, AttributeSet attrs, int defStyleAttr) source
public CheckedTextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) source

Methods

public void toggle() source
public boolean isChecked() source
public void setChecked(boolean checked) source
public void setCheckMarkDrawable(int resId) source
public void setCheckMarkDrawable(Drawable d) source
public Drawable getCheckMarkDrawable() source
public void setCheckMarkTintList(ColorStateList tint) source
public ColorStateList getCheckMarkTintList() source
public void setCheckMarkTintMode(PorterDuff.Mode tintMode) source
public PorterDuff.Mode getCheckMarkTintMode() source
public int getCompoundPaddingRight() source
protected int[] onCreateDrawableState(int extraSpace) source
protected void drawableStateChanged() source
protected boolean verifyDrawable(Drawable who) source
public void jumpDrawablesToCurrentState() source
protected void onDraw(Canvas canvas) source
public CharSequence getAccessibilityClassName() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.