Android Guides | Samples

Android.Views.SoftInput Enumeration

Enumerates values returned by several types and taken as a parameter of the Window.SetSoftInputMode member.

Syntax

public enum SoftInput

Remarks

Members

Member NameDescription
AdjustNothingAdjustment option for WindowManagerLayoutParams.SoftInputMode: set to have a window not adjust for a shown input method. The window will not be resized, and it will not be panned to make its focus visible.
AdjustPanAdjustment option for WindowManagerLayoutParams.SoftInputMode: set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by the framework to ensure the current input focus is visible. This can not be combined with SoftInput.AdjustResize; if neither of these are set, then the system will try to pick one or the other depending on the contents of the window.
AdjustResizeAdjustment option for WindowManagerLayoutParams.SoftInputMode: set to allow the window to be resized when an input method is shown, so that its contents are not covered by the input method. This can not be combined with SoftInput.AdjustPan; if neither of these are set, then the system will try to pick one or the other depending on the contents of the window. If the window's layout parameter flags include WindowManagerFlags.Fullscreen, this value for WindowManagerLayoutParams.SoftInputMode will be ignored; the window will not resize, but will stay fullscreen.
AdjustUnspecifiedAdjustment option for WindowManagerLayoutParams.SoftInputMode: nothing specified. The system will try to pick one or the other depending on the contents of the window.
IsForwardNavigationBit for WindowManagerLayoutParams.SoftInputMode: set when the user has navigated forward to the window. This is normally set automatically for you by the system, though you may want to set it in certain cases when you are displaying a window yourself. This flag will always be cleared automatically after the window is displayed.
MaskAdjustMask for WindowManagerLayoutParams.SoftInputMode of the bits that determine the way that the window should be adjusted to accommodate the soft input window.
MaskStateMask for WindowManagerLayoutParams.SoftInputMode of the bits that determine the desired visibility state of the soft input area for this window.
StateAlwaysHiddenVisibility state for WindowManagerLayoutParams.SoftInputMode: please always hide any soft input area when this window receives focus.
StateAlwaysVisibleVisibility state for WindowManagerLayoutParams.SoftInputMode: please always make the soft input area visible when this window receives input focus.
StateHiddenVisibility state for WindowManagerLayoutParams.SoftInputMode: please hide any soft input area when normally appropriate (when the user is navigating forward to your window).
StateUnchangedVisibility state for WindowManagerLayoutParams.SoftInputMode: please don't change the state of the soft input area.
StateUnspecifiedVisibility state for WindowManagerLayoutParams.SoftInputMode: no state has been specified.
StateVisibleVisibility state for WindowManagerLayoutParams.SoftInputMode: please show the soft input area when normally appropriate (when the user is navigating forward to your window).

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Views.SoftInput are listed below.

See Also: Enum

Public Fields

AdjustNothingSoftInput. Adjustment option for WindowManagerLayoutParams.SoftInputMode: set to have a window not adjust for a shown input method. The window will not be resized, and it will not be panned to make its focus visible.
AdjustPanSoftInput. Adjustment option for WindowManagerLayoutParams.SoftInputMode: set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by the framework to ensure the current input focus is visible. This can not be combined with SoftInput.AdjustResize; if neither of these are set, then the system will try to pick one or the other depending on the contents of the window.
AdjustResizeSoftInput. Adjustment option for WindowManagerLayoutParams.SoftInputMode: set to allow the window to be resized when an input method is shown, so that its contents are not covered by the input method. This can not be combined with SoftInput.AdjustPan; if neither of these are set, then the system will try to pick one or the other depending on the contents of the window. If the window's layout parameter flags include WindowManagerFlags.Fullscreen, this value for WindowManagerLayoutParams.SoftInputMode will be ignored; the window will not resize, but will stay fullscreen.
AdjustUnspecifiedSoftInput. Adjustment option for WindowManagerLayoutParams.SoftInputMode: nothing specified. The system will try to pick one or the other depending on the contents of the window.
IsForwardNavigationSoftInput. Bit for WindowManagerLayoutParams.SoftInputMode: set when the user has navigated forward to the window. This is normally set automatically for you by the system, though you may want to set it in certain cases when you are displaying a window yourself. This flag will always be cleared automatically after the window is displayed.
MaskAdjustSoftInput. Mask for WindowManagerLayoutParams.SoftInputMode of the bits that determine the way that the window should be adjusted to accommodate the soft input window.
MaskStateSoftInput. Mask for WindowManagerLayoutParams.SoftInputMode of the bits that determine the desired visibility state of the soft input area for this window.
StateAlwaysHiddenSoftInput. Visibility state for WindowManagerLayoutParams.SoftInputMode: please always hide any soft input area when this window receives focus.
StateAlwaysVisibleSoftInput. Visibility state for WindowManagerLayoutParams.SoftInputMode: please always make the soft input area visible when this window receives input focus.
StateHiddenSoftInput. Visibility state for WindowManagerLayoutParams.SoftInputMode: please hide any soft input area when normally appropriate (when the user is navigating forward to your window).
StateUnchangedSoftInput. Visibility state for WindowManagerLayoutParams.SoftInputMode: please don't change the state of the soft input area.
StateUnspecifiedSoftInput. Visibility state for WindowManagerLayoutParams.SoftInputMode: no state has been specified.
StateVisibleSoftInput. Visibility state for WindowManagerLayoutParams.SoftInputMode: please show the soft input area when normally appropriate (when the user is navigating forward to your window).