Android.Views.Window.SetDimAmount Method
Set the amount of dim behind the window when using WindowManagerLayoutParams.FLAG_DIM_BEHIND.

Syntax

[Android.Runtime.Register("setDimAmount", "(F)V", "GetSetDimAmount_FHandler")]
public virtual void SetDimAmount (float amount)

Parameters

amount
The new dim amount, from 0 for no dim to 1 for full dim.

Remarks

Set the amount of dim behind the window when using WindowManagerLayoutParams.FLAG_DIM_BEHIND. This overrides the default dim amount of that is selected by the Window based on its theme.

[Android Documentation]

Requirements

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