InputMethodService.OnCreateInputView Method

Definition

Create and return the view hierarchy used for the input area (such as a soft keyboard).

[Android.Runtime.Register("onCreateInputView", "()Landroid/view/View;", "GetOnCreateInputViewHandler")]
public virtual Android.Views.View? OnCreateInputView ();
[<Android.Runtime.Register("onCreateInputView", "()Landroid/view/View;", "GetOnCreateInputViewHandler")>]
abstract member OnCreateInputView : unit -> Android.Views.View
override this.OnCreateInputView : unit -> Android.Views.View

Returns

Attributes

Remarks

Create and return the view hierarchy used for the input area (such as a soft keyboard). This will be called once, when the input area is first displayed. You can return null to have no input area; the default implementation returns null.

To control when the input view is displayed, implement #onEvaluateInputViewShown(). To change the input view after the first one is created by this function, use #setInputView(View).

Java documentation for android.inputmethodservice.InputMethodService.onCreateInputView().

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