Android.Views.Window.SetFlags Method
Set the flags of the window, as per the Android.Views.WindowManagerLayoutParams flags.

Syntax

[Android.Runtime.Register("setFlags", "(II)V", "GetSetFlags_IIHandler")]
public virtual void SetFlags ([Android.Runtime.GeneratedEnum] WindowManagerFlags flags, [Android.Runtime.GeneratedEnum] WindowManagerFlags mask)

See Also

Window.AddFlags(WindowManagerFlags)
Window.ClearFlags(WindowManagerFlags)

Parameters

flags
The new window flags (see WindowManager.LayoutParams).
mask
Which of the window flag bits to modify.

Remarks

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

Note that some flags must be set before the window decoration is created (by the first call to Window.SetContentView(View, .LayoutParams) or Window.DecorView: WindowManagerLayoutParams.FLAG_LAYOUT_IN_SCREEN and WindowManagerLayoutParams.FLAG_LAYOUT_INSET_DECOR. These will be set for you based on the NoType:android/R$attr;Href=../../../reference/android/R.attr.html#windowIsFloating attribute.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1