ActivityManager.TaskDescription.Builder.SetPrimaryColor(Color) 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 primary color to use in the TaskDescription.
[Android.Runtime.Register("setPrimaryColor", "(I)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)]
public Android.App.ActivityManager.TaskDescription.Builder SetPrimaryColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setPrimaryColor", "(I)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)>]
member this.SetPrimaryColor : Android.Graphics.Color -> Android.App.ActivityManager.TaskDescription.Builder
Parameters
- color
- Color
int: A color to override the theme's primary color. The color must be opaque.
Returns
The same instance of the builder. This value cannot be null.
- Attributes
Remarks
Set the primary color to use in the TaskDescription.
Android reference for android.app.ActivityManager.TaskDescription.Builder.setPrimaryColor.
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.