SoftInput Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum SoftInput
[<System.Flags>]
type SoftInput = 
Inheritance
SoftInput
Attributes

Fields

AdjustNothing 48

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

AdjustPan 32
AdjustResize 16
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 256

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

MaskAdjust 240

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

MaskState 15

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

StateAlwaysHidden 3

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

StateAlwaysVisible 5

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

StateHidden 2
StateUnchanged 1

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

StateUnspecified 0

Visibility state for SoftInputMode: no state has been specified.

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