Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

GuidedActionEditText

open class GuidedActionEditText : EditText, ImeKeyMonitor, GuidedActionAutofillSupport
kotlin.Any
   ↳ android.view.View
   ↳ android.widget.TextView
   ↳ android.widget.EditText
   ↳ androidx.leanback.widget.GuidedActionEditText

A custom EditText that satisfies the IME key monitoring requirements of GuidedStepFragment.

Summary

Public constructors
<init>(ctx: Context!)

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

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

Public methods
open Unit

open Int

open Unit

open Boolean
onKeyPreIme(keyCode: Int, event: KeyEvent!)

open Boolean
onTouchEvent(@NonNull event: MotionEvent)

open Unit

See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

open Unit

open Unit

Protected methods
open Unit
onFocusChanged(focused: Boolean, direction: Int, previouslyFocusedRect: Rect?)

Public constructors

<init>

GuidedActionEditText(ctx: Context!)

<init>

GuidedActionEditText(
    ctx: Context!,
    attrs: AttributeSet!)

<init>

GuidedActionEditText(
    ctx: Context!,
    attrs: AttributeSet!,
    defStyleAttr: Int)

Public methods

autofill

open fun autofill(values: AutofillValue!): Unit

getAutofillType

open fun getAutofillType(): Int

onInitializeAccessibilityNodeInfo

open fun onInitializeAccessibilityNodeInfo(info: AccessibilityNodeInfo!): Unit

onKeyPreIme

open fun onKeyPreIme(
    keyCode: Int,
    event: KeyEvent!
): Boolean

onTouchEvent

open fun onTouchEvent(@NonNull event: MotionEvent): Boolean

setCustomSelectionActionModeCallback

open fun setCustomSelectionActionModeCallback(actionModeCallback: Callback!): Unit

See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

setImeKeyListener

open fun setImeKeyListener(listener: ImeKeyMonitor.ImeKeyListener!): Unit

setOnAutofillListener

open fun setOnAutofillListener(autofillListener: GuidedActionAutofillSupport.OnAutofillListener!): Unit

Protected methods

onFocusChanged

protected open fun onFocusChanged(
    focused: Boolean,
    direction: Int,
    previouslyFocusedRect: Rect?
): Unit