다음을 통해 공유


Window.SetSoftInputMode(SoftInput) Method

Definition

Specify an explicit soft input mode to use for the window, as per WindowManager.LayoutParams#softInputMode WindowManager.LayoutParams.softInputMode.

[Android.Runtime.Register("setSoftInputMode", "(I)V", "GetSetSoftInputMode_IHandler")]
public virtual void SetSoftInputMode (Android.Views.SoftInput mode);
[<Android.Runtime.Register("setSoftInputMode", "(I)V", "GetSetSoftInputMode_IHandler")>]
abstract member SetSoftInputMode : Android.Views.SoftInput -> unit
override this.SetSoftInputMode : Android.Views.SoftInput -> unit

Parameters

mode
SoftInput
Attributes

Remarks

Specify an explicit soft input mode to use for the window, as per WindowManager.LayoutParams#softInputMode WindowManager.LayoutParams.softInputMode. Providing anything besides "unspecified" here will override the input mode the window would normally retrieve from its theme.

Java documentation for android.view.Window.setSoftInputMode(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