Aracılığıyla paylaş


ComponentInfo.IconResource Property

Definition

Return the icon resource identifier to use for this component.

public int IconResource { [Android.Runtime.Register("getIconResource", "()I", "")] get; }
[<get: Android.Runtime.Register("getIconResource", "()I", "")>]
member this.IconResource : int

Property Value

The icon associated with this component.

Attributes

Remarks

Return the icon resource identifier to use for this component. If the component defines an icon, that is used; else, the application icon is used.

Java documentation for android.content.pm.ComponentInfo.getIconResource().

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