GuidedActionEditText

public class GuidedActionEditText
extends EditText implements ImeKeyMonitor, GuidedActionAutofillSupport

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

Inherited constants

Inherited fields

Public constructors

GuidedActionEditText(Context ctx)
GuidedActionEditText(Context ctx, AttributeSet attrs)
GuidedActionEditText(Context ctx, AttributeSet attrs, int defStyleAttr)

Public methods

void autofill(AutofillValue values)
int getAutofillType()
void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info)
boolean onKeyPreIme(int keyCode, KeyEvent event)
boolean onTouchEvent(MotionEvent event)
void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)

See TextViewCompat.setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

void setImeKeyListener(ImeKeyMonitor.ImeKeyListener listener)

Set the listener for this edit text object.

void setOnAutofillListener(GuidedActionAutofillSupport.OnAutofillListener autofillListener)

Sets AutofillListener on the custom view.

Protected methods

void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect)

Inherited methods