Window.SetDimColor(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.