SoftInput SoftInput Enum

Definition

F:Android.Views.Window.SetSoftInputMode

public enum SoftInput
type SoftInput = 
Inheritance
SoftInputSoftInput

Fields

AdjustNothing AdjustNothing 48

Adjustment option for SoftInputMode: set to have a window not adjust for a shown input method.

AdjustPan AdjustPan 32
AdjustResize AdjustResize 16
AdjustUnspecified AdjustUnspecified 0

Adjustment option for SoftInputMode: nothing specified. The system will try to pick one or the other depending on the contents of the window.

IsForwardNavigation IsForwardNavigation 256

Bit for SoftInputMode: set when the user has navigated forward to the window.

MaskAdjust MaskAdjust 240

Mask for SoftInputModeof the bits that determine the way that the window should be adjusted to accommodate the soft input window.

MaskState MaskState 15

Mask for SoftInputModeof the bits that determine the desired visibility state of the soft input area for this window.

StateAlwaysHidden StateAlwaysHidden 3

Visibility state for SoftInputMode: please always hide any soft input area when this window receives focus.

StateAlwaysVisible StateAlwaysVisible 5

Visibility state for SoftInputMode: please always make the soft input area visible when this window receives input focus.

StateHidden StateHidden 2
StateUnchanged StateUnchanged 1

Visibility state for SoftInputMode: please don't change the state of the soft input area.

StateUnspecified StateUnspecified 0

Visibility state for SoftInputMode: no state has been specified.

StateVisible StateVisible 4

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