ShowFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of several types.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ShowFlags
[<System.Flags>]
type ShowFlags =
- Inheritance
-
ShowFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Implicit | 1 | This constant was deprecated in API level 37. Use ShowSoftInput(View, ShowFlags) without this flag instead. On Android 16, the flag can be ignored when the platform uses refactored insets handling. On Android 17 and later, it has no effect. Indicates an implicit request to show the input window, rather than a direct request by the user. The window may not be shown in this case. Android reference for 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. |
| Forced | 2 | This constant was deprecated in API level 33. Use ShowSoftInput(View, ShowFlags) without this flag instead. Before Android 13, the flag could make the soft input remain visible after the calling application closed. Starting in Android 13, it only has an effect while the caller is focused. On Android 16, it can be ignored when the platform uses refactored insets handling. On Android 17 and later, it has no effect. Indicates that the user forced the input method open, for example by long-pressing the menu key, so it should not be closed until the user explicitly dismisses it. Android reference for 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. |
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.