Android.Content.PM.PackageManager.GetActivityLogo Method
Retrieve the logo associated with an activity.

Syntax

[Android.Runtime.Register("getActivityLogo", "(Landroid/content/ComponentName;)Landroid/graphics/drawable/Drawable;", "GetGetActivityLogo_Landroid_content_ComponentName_Handler")]
public abstract Android.Graphics.Drawables.Drawable GetActivityLogo (Android.Content.ComponentName activityName)

See Also

PackageManager.GetActivityLogo(Android.Content.Intent)

Parameters

activityName
Name of the activity whose logo is to be retrieved.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:android/content/pm/PackageManager$NameNotFoundException;Href=../../../../reference/android/content/pm/PackageManager.NameNotFoundException.htmlThrown if the resources for the given activity could not be loaded.

Remarks

Retrieve the logo associated with an activity. Given the full name of an activity, retrieves the information about it and calls PackageItemInfo.LoadLogo(PackageManager) to return its logo. If the activity cannot be found, NameNotFoundException is thrown.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9