Dil

ImeAction Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum ImeAction
type ImeAction = 
Inheritance
ImeAction

Fields

Name Value Description
ImeNull 0

Generic unspecified type for ImeOptions.

Unspecified 0

Bits of ImeMaskAction: no specific action has been associated with this editor, let the editor come up with its own if it can.

None 1

Bits of ImeMaskAction: there is no available action.

Go 2

Bits of IME_MASK_ACTION: the action key performs a "go" operation to take the user to the target of the text they typed. Typically used, for example, when entering a URL.

Android reference for android.view.inputmethod.EditorInfo.IME_ACTION_GO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

3

Bits of IME_MASK_ACTION: the action key performs a "search" operation, taking the user to the results of searching for the text they have typed (in whatever context is appropriate).

Android reference for android.view.inputmethod.EditorInfo.IME_ACTION_SEARCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Send 4

Bits of ImeMaskAction: the action key performs a "send" operation, delivering the text to its target.

Next 5

Bits of ImeMaskAction: the action key performs a "next" operation, taking the user to the next field that will accept text.

Done 6

Bits of ImeMaskAction: the action key performs a "done" operation, typically meaning the IME will be closed.

Previous 7

Bits of ImeMaskAction: Like Next, but for moving to the previous field.

ImeMaskAction 255

Set of bits in imeOptions that provide alternative actions associated with the "enter" key. This both helps the IME provide better feedback about what the enter key will do, and also allows it to provide alternative mechanisms for providing that command.

Android reference for android.view.inputmethod.EditorInfo.IME_MASK_ACTION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to