다음을 통해 공유


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

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

DimBehind 2

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

BlurBehind 4

Window flag: blur everything behind this window.

NotFocusable 8
NotTouchable 16

Window flag: this window can never receive touch events.

NotTouchModal 32
TouchableWhenWaking 64

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

KeepScreenOn 128

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

LayoutInScreen 256

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

LayoutNoLimits 512

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

Fullscreen 1024

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

ForceNotFullscreen 2048

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

Dither 4096

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

Secure 8192
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.

IgnoreCheekPresses 32768
LayoutInsetDecor 65536

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

AltFocusableIm 131072

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

WatchOutsideTouch 262144
ShowWhenLocked 524288

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

ShowWallpaper 1048576

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

TurnScreenOn 2097152
DismissKeyguard 4194304

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

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.

HardwareAccelerated 16777216
LayoutInOverscan 33554432

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

TranslucentStatus 67108864
TranslucentNavigation 134217728
LocalFocusMode 268435456
LayoutAttachedInDecor 1073741824

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