Android.Content.Context.GetDrawable Method
Return a drawable object associated with a particular resource ID and styled for the current theme.

Syntax

[Android.Runtime.Register("getDrawable", "(I)Landroid/graphics/drawable/Drawable;", "")]
public Android.Graphics.Drawables.Drawable GetDrawable (int id)

Parameters

id
The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier.

Returns

Documentation for this section has not yet been entered.

Remarks

Return a drawable object associated with a particular resource ID and styled for the current theme.

[Android Documentation]

Requirements

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