PackageManager.GetActivityLogo Method

Definition

Overloads

GetActivityLogo(ComponentName)

Retrieve the logo associated with an activity.

GetActivityLogo(Intent)

Retrieve the logo associated with an Intent.

GetActivityLogo(ComponentName)

Retrieve the logo associated with an activity.

[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);
[<Android.Runtime.Register("getActivityLogo", "(Landroid/content/ComponentName;)Landroid/graphics/drawable/Drawable;", "GetGetActivityLogo_Landroid_content_ComponentName_Handler")>]
abstract member GetActivityLogo : Android.Content.ComponentName -> Android.Graphics.Drawables.Drawable

Parameters

activityName
ComponentName

Name of the activity whose logo is to be retrieved.

Returns

Drawable

Returns the image of the logo or null if the activity has no logo specified.

Attributes

Exceptions

Thrown if the resources for the given activity could not be loaded.

Remarks

Java documentation for android.content.pm.PackageManager.getActivityLogo(android.content.ComponentName).

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.

See also

Applies to

GetActivityLogo(Intent)

Retrieve the logo associated with an Intent.

[Android.Runtime.Register("getActivityLogo", "(Landroid/content/Intent;)Landroid/graphics/drawable/Drawable;", "GetGetActivityLogo_Landroid_content_Intent_Handler")]
public abstract Android.Graphics.Drawables.Drawable? GetActivityLogo (Android.Content.Intent intent);
[<Android.Runtime.Register("getActivityLogo", "(Landroid/content/Intent;)Landroid/graphics/drawable/Drawable;", "GetGetActivityLogo_Landroid_content_Intent_Handler")>]
abstract member GetActivityLogo : Android.Content.Intent -> Android.Graphics.Drawables.Drawable

Parameters

intent
Intent

The intent for which you would like to retrieve a logo.

Returns

Drawable

Returns the image of the logo, or null if the activity has no logo specified.

Attributes

Exceptions

Thrown if the resources for application matching the given intent could not be loaded.

Remarks

Java documentation for android.content.pm.PackageManager.getActivityLogo(android.content.Intent).

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.

See also

Applies to