Window.SetFlags(WindowManagerFlags, WindowManagerFlags) Window.SetFlags(WindowManagerFlags, WindowManagerFlags) Method

Definition

Set the flags of the window, as per the WindowManagerLayoutParams flags.

[Android.Runtime.Register("setFlags", "(II)V", "GetSetFlags_IIHandler")]
public virtual void SetFlags (Android.Views.WindowManagerFlags flags, Android.Views.WindowManagerFlags mask);
abstract member SetFlags : Android.Views.WindowManagerFlags * Android.Views.WindowManagerFlags -> unit
override this.SetFlags : Android.Views.WindowManagerFlags * Android.Views.WindowManagerFlags -> unit

Parameters

flags
WindowManagerFlags WindowManagerFlags

The new window flags (see WindowManager.LayoutParams).

mask
WindowManagerFlags WindowManagerFlags

Which of the window flag bits to modify.

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

See also