Share via


InputMethodService.SetInputView(View) Method

Definition

Replaces the current input view with a new one.

[Android.Runtime.Register("setInputView", "(Landroid/view/View;)V", "GetSetInputView_Landroid_view_View_Handler")]
public virtual void SetInputView (Android.Views.View? view);
[<Android.Runtime.Register("setInputView", "(Landroid/view/View;)V", "GetSetInputView_Landroid_view_View_Handler")>]
abstract member SetInputView : Android.Views.View -> unit
override this.SetInputView : Android.Views.View -> unit

Parameters

view
View
Attributes

Remarks

Replaces the current input view with a new one. You only need to call this when dynamically changing the view; normally, you should implement #onCreateInputView() and create your view when first needed by the input method.

Java documentation for android.inputmethodservice.InputMethodService.setInputView(android.view.View).

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