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>(@NonNull context: Context, @Nullable attrs: AttributeSet?) |
|
<init>(@NonNull context: Context, @Nullable attrs: AttributeSet?, defStyleAttr: Int) |
Public methods | |
---|---|
open InputConnection! |
onCreateInputConnection(outAttrs: EditorInfo!) |
open Unit |
setCheckMarkDrawable(@DrawableRes resId: Int) |
open Unit |
setCustomSelectionActionModeCallback(actionModeCallback: Callback!) See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback) |
open Unit |
setTextAppearance(context: Context!, resId: Int) |
Protected methods | |
---|---|
open Unit |
Public constructors
<init>
AppCompatCheckedTextView(@NonNull context: Context)
<init>
AppCompatCheckedTextView(
@NonNull context: Context,
@Nullable attrs: AttributeSet?)
<init>
AppCompatCheckedTextView(
@NonNull context: Context,
@Nullable attrs: AttributeSet?,
defStyleAttr: Int)
Public methods
onCreateInputConnection
open fun onCreateInputConnection(outAttrs: EditorInfo!): InputConnection!
setCustomSelectionActionModeCallback
open fun setCustomSelectionActionModeCallback(actionModeCallback: Callback!): Unit
See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)
Protected methods
drawableStateChanged
protected open fun drawableStateChanged(): Unit