ActivityManager.TaskDescription.Builder.SetBackgroundColor(Color) Method

Definition

Set the background color to use in the TaskDescription.

[Android.Runtime.Register("setBackgroundColor", "(I)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)]
public Android.App.ActivityManager.TaskDescription.Builder SetBackgroundColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setBackgroundColor", "(I)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)>]
member this.SetBackgroundColor : Android.Graphics.Color -> Android.App.ActivityManager.TaskDescription.Builder

Parameters

color
Color

int: A color to override the theme's background color. The color must be opaque.

Returns

The same instance of the builder. This value cannot be null.

Attributes

Remarks

Set the background color to use in the TaskDescription.

Android reference for android.app.ActivityManager.TaskDescription.Builder.setBackgroundColor.

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