Language

Window.SetDimColor(Int64) Method

Definition

Set the color of the dim behind the window when using WindowManager.LayoutParams#FLAG_DIM_BEHIND.

[Android.Runtime.Register("setDimColor", "(J)V", "GetSetDimColor_JHandler", ApiSince=37)]
public virtual void SetDimColor(long color);
[<Android.Runtime.Register("setDimColor", "(J)V", "GetSetDimColor_JHandler", ApiSince=37)>]
abstract member SetDimColor : int64 -> unit
override this.SetDimColor : int64 -> unit

Parameters

color
Int64

The new dim color.

Attributes

Remarks

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

Android reference for android.view.Window.setDimColor.

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