Sdílet prostřednictvím


WindowManagerLayoutParams.DimAmount Property

Definition

When #FLAG_DIM_BEHIND is set, this is the amount of dimming to apply.

[Android.Runtime.Register("dimAmount")]
public float DimAmount { get; set; }
[<Android.Runtime.Register("dimAmount")>]
member this.DimAmount : single with get, set

Property Value

Attributes

Remarks

When #FLAG_DIM_BEHIND is set, this is the amount of dimming to apply. Range is from 1.0 for completely opaque to 0.0 for no dim.

Java documentation for android.view.WindowManager.LayoutParams.dimAmount.

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