Language

ArchivedActivityInfo.SetIcon(Drawable) Method

Definition

Icon of the activity in the app's locale.

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

Parameters

value
Drawable

The activity icon to store in the archived record.

Returns

This archived activity record after the icon is assigned.

Attributes

Remarks

Icon of the activity in the app's locale. if null then the default icon would be shown in the launcher.

Java documentation for android.content.pm.ArchivedActivityInfo.setIcon(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