Språk

WindowManagerLayoutParams.DimColor Property

Definition

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

[Android.Runtime.Register("dimColor", ApiSince=37)]
public long DimColor { get; set; }
[<Android.Runtime.Register("dimColor", ApiSince=37)>]
member this.DimColor : int64 with get, set

Property Value

Attributes

Remarks

When FLAG_DIM_BEHIND is set, this is the color of the dimming to apply. The default value is black (0xFF000000). The alpha component of this color is ignored, as the opacity of the dim layer is controlled by dimAmount.

Android reference for android.view.WindowManager.LayoutParams.dimColor.

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