Język

ArchivedActivityInfo.SetMonochromeIcon(Drawable) Method

Definition

Monochrome icon, if defined, of the activity.

[Android.Runtime.Register("setMonochromeIcon", "(Landroid/graphics/drawable/Drawable;)Landroid/content/pm/ArchivedActivityInfo;", "", ApiSince=35)]
public Android.Content.PM.ArchivedActivityInfo SetMonochromeIcon(Android.Graphics.Drawables.Drawable value);
[<Android.Runtime.Register("setMonochromeIcon", "(Landroid/graphics/drawable/Drawable;)Landroid/content/pm/ArchivedActivityInfo;", "", ApiSince=35)>]
member this.SetMonochromeIcon : Android.Graphics.Drawables.Drawable -> Android.Content.PM.ArchivedActivityInfo

Parameters

value
Drawable

The monochrome activity icon to store.

Returns

This archived activity record after the monochrome icon is assigned.

Attributes

Remarks

Monochrome icon, if defined, of the activity.

Java documentation for android.content.pm.ArchivedActivityInfo.setMonochromeIcon(android.graphics.drawable.Drawable).

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