Android 12 Developer Preview is here! Try it out, and give us your feedback!


public class AppCompatCheckedTextView
extends CheckedTextView

   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.widget.CheckedTextView
         ↳ androidx.appcompat.widget.AppCompatCheckedTextView

A CheckedTextView which supports compatible features on older versions of the platform.

This will automatically be used when you use CheckedTextView in your layouts and the top-level activity / dialog is provided by appcompat. You should only need to manually use this class when writing custom views.


Inherited constants

Inherited fields

Public constructors

AppCompatCheckedTextView(Context context)
AppCompatCheckedTextView(Context context, AttributeSet attrs)
AppCompatCheckedTextView(Context context, AttributeSet attrs, int defStyleAttr)

Public methods

InputConnection onCreateInputConnection(EditorInfo outAttrs)
void setCheckMarkDrawable(int resId)
void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)

See TextViewCompat.setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

void setTextAppearance(Context context, int resId)

Protected methods

void drawableStateChanged()

Inherited methods