Android.Content.PM.PackageManager.GetActivityBanner Method
Retrieve the banner associated with an activity.

Syntax

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

See Also

PackageManager.GetActivityBanner(Android.Content.Intent)

Parameters

activityName
Name of the activity whose banner 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 banner associated with an activity. Given the full name of an activity, retrieves the information about it and calls PackageItemInfo.LoadIcon(PackageManager) to return its banner. 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 1