Compartir a través de


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

Name Value Description
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.

StateUnspecified 0

Visibility state for SoftInputMode: no state has been specified.

StateUnchanged 1

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

StateHidden 2
StateAlwaysHidden 3

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

StateVisible 4
StateAlwaysVisible 5

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

MaskState 15

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

AdjustResize 16
AdjustPan 32
AdjustNothing 48

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

MaskAdjust 240

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

IsForwardNavigation 256

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

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