WindowManagerFlags Enum

Definition

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 WindowManagerFlags
[<System.Flags>]
type WindowManagerFlags = 
Inheritance
WindowManagerFlags
Attributes

Fields

AllowLockWhileScreenOn 1

Window flag: as long as this window is visible to the user, allow the lock screen to activate while the screen is on.

AltFocusableIm 131072

Window flag: invert the state of NotFocusablewith respect to how this window interacts with the current method.

BlurBehind 4

Window flag: blur everything behind this window.

DimBehind 2

Window flag: everything behind this window will be dimmed. Use DimAmountto control the amount of dim.

DismissKeyguard 4194304

Window flag: when set the window will cause the keyguard to be dismissed, only if it is not a secure lock keyguard.

Dither 4096

Window flag: turn on dithering when compositing this window to the screen.

DrawsSystemBarBackgrounds -2147483648
ForceNotFullscreen 2048

Window flag: override Fullscreenand force the screen decorations (such as the status bar) to be shown.

Fullscreen 1024

Window flag: hide all screen decorations (such as the status bar) while this window is displayed.

HardwareAccelerated 16777216
IgnoreCheekPresses 32768
KeepScreenOn 128

Window flag: as long as this window is visible to the user, keep the device's screen turned on and bright.

LayoutAttachedInDecor 1073741824
LayoutInOverscan 33554432

Window flag: allow window contents to extend in to the screen's overscan area, if there is one.

LayoutInScreen 256

Window flag: place the window within the entire screen, ignoring decorations around the border (such as the status bar).

LayoutInsetDecor 65536

Window flag: a special option only for use in combination with LayoutInScreen.

LayoutNoLimits 512

Window flag: allow window to extend outside of the screen.

LocalFocusMode 268435456
NotFocusable 8
NotTouchable 16

Window flag: this window can never receive touch events.

NotTouchModal 32
Scaled 16384

Window flag: a special mode where the layout parameters are used to perform scaling of the surface when it is composited to the screen.

Secure 8192
ShowWallpaper 1048576

Window flag: ask that the system wallpaper be shown behind your window.

ShowWhenLocked 524288

Window flag: special flag to let windows be shown when the screen is locked.

SplitTouch 8388608

Window flag: when set the window will accept for touch events outside of its bounds to be sent to other windows that also support split touch.

TouchableWhenWaking 64

Window flag: when set, if the device is asleep when the touch screen is pressed, you will receive this first touch event.

TranslucentNavigation 134217728
TranslucentStatus 67108864
TurnScreenOn 2097152
WatchOutsideTouch 262144

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