public class

RemoteInputView.RemoteEditText

extends EditText

 java.lang.Object

↳EditText

↳androidx.slice.widget.RemoteInputView.RemoteEditText

Overview

An EditText that changes appearance based on whether it's focusable and becomes un-focusable whenever the user navigates away from it or it becomes invisible.

Summary

Constructors
publicRemoteEditText(Context context, AttributeSet attrs)

Methods
public voidgetFocusedRect(Rect r)

public voidonCommitCompletion(CompletionInfo text)

public InputConnectiononCreateInputConnection(EditorInfo outAttrs)

protected voidonFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect)

public booleanonKeyDown(int keyCode, KeyEvent event)

public booleanonKeyUp(int keyCode, KeyEvent event)

protected voidonVisibilityChanged(View changedView, int visibility)

public voidsetCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)

See #setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public RemoteEditText(Context context, AttributeSet attrs)

Methods

protected void onVisibilityChanged(View changedView, int visibility)

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

public void getFocusedRect(Rect r)

public boolean onKeyDown(int keyCode, KeyEvent event)

public boolean onKeyUp(int keyCode, KeyEvent event)

public InputConnection onCreateInputConnection(EditorInfo outAttrs)

public void onCommitCompletion(CompletionInfo text)

public void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)

See #setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)