AppCompatCheckedTextView

public class AppCompatCheckedTextView
extends CheckedTextView implements TintableBackgroundView, EmojiCompatConfigurationView

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, including:

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

ActionMode.Callback getCustomSelectionActionModeCallback()
boolean isEmojiCompatEnabled()
InputConnection onCreateInputConnection(EditorInfo outAttrs)
void setAllCaps(boolean allCaps)
void setBackgroundDrawable(Drawable background)
void setBackgroundResource(int resId)
void setCheckMarkDrawable(Drawable d)
void setCheckMarkDrawable(int resId)
void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)

See TextViewCompat.setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

void setEmojiCompatEnabled(boolean enabled)

Configure emoji fallback behavior using EmojiCompat.

void setTextAppearance(Context context, int resId)

Protected methods

void drawableStateChanged()

Inherited methods