InputMethodService.OnExtractedCursorMovement(Int32, Int32) Method

Definition

This is called when the user has performed a cursor movement in the extracted text view, when it is running in fullscreen mode.

[Android.Runtime.Register("onExtractedCursorMovement", "(II)V", "GetOnExtractedCursorMovement_IIHandler")]
public virtual void OnExtractedCursorMovement (int dx, int dy);
[<Android.Runtime.Register("onExtractedCursorMovement", "(II)V", "GetOnExtractedCursorMovement_IIHandler")>]
abstract member OnExtractedCursorMovement : int * int -> unit
override this.OnExtractedCursorMovement : int * int -> unit

Parameters

dx
Int32

The amount of cursor movement in the x dimension.

dy
Int32

The amount of cursor movement in the y dimension.

Attributes

Remarks

This is called when the user has performed a cursor movement in the extracted text view, when it is running in fullscreen mode. The default implementation hides the candidates view when a vertical movement happens, but only if the extracted text editor has a vertical scroll bar because its text doesn't fit. Re-implement this to provide whatever behavior you want.

Java documentation for android.inputmethodservice.InputMethodService.onExtractedCursorMovement(int, int).

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