belongs to Maven artifact androidx.appcompat:appcompat:1.0.0-alpha1

AppCompatCheckedTextView

public class AppCompatCheckedTextView
extends CheckedTextView

java.lang.Object
   ↳ 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.

Summary

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 setTextAppearance(Context context, int resId)

Protected methods

void drawableStateChanged()

Inherited methods

Public constructors

AppCompatCheckedTextView

AppCompatCheckedTextView (Context context)

Parameters
context Context

AppCompatCheckedTextView

AppCompatCheckedTextView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

AppCompatCheckedTextView

AppCompatCheckedTextView (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

onCreateInputConnection

InputConnection onCreateInputConnection (EditorInfo outAttrs)

Parameters
outAttrs EditorInfo

Returns
InputConnection

setCheckMarkDrawable

void setCheckMarkDrawable (int resId)

Parameters
resId int

setTextAppearance

void setTextAppearance (Context context, 
                int resId)

Parameters
context Context

resId int

Protected methods

drawableStateChanged

void drawableStateChanged ()