AppCompatCheckedTextView

open class AppCompatCheckedTextView : CheckedTextView
kotlin.Any
   ↳ 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

Public constructors
<init>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods
open Unit
setTextAppearance(context: Context!, resId: Int)

open Unit

See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

open Unit
setCheckMarkDrawable(@DrawableRes resId: Int)

open InputConnection!

Protected methods
open Unit

Public constructors

<init>

AppCompatCheckedTextView(context: Context!)

<init>

AppCompatCheckedTextView(context: Context!, attrs: AttributeSet!)

<init>

AppCompatCheckedTextView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods

setTextAppearance

open fun setTextAppearance(context: Context!, resId: Int): Unit

setCustomSelectionActionModeCallback

open fun setCustomSelectionActionModeCallback(actionModeCallback: Callback!): Unit

See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

setCheckMarkDrawable

open fun setCheckMarkDrawable(@DrawableRes resId: Int): Unit

onCreateInputConnection

open fun onCreateInputConnection(outAttrs: EditorInfo!): InputConnection!

Protected methods

drawableStateChanged

protected open fun drawableStateChanged(): Unit