Android.Content.Res.Resources.GetAnimation Method
Return an XmlResourceParser through which you can read an animation description for the given resource ID.

Syntax

[Android.Runtime.Register("getAnimation", "(I)Landroid/content/res/XmlResourceParser;", "GetGetAnimation_IHandler")]
public virtual System.Xml.XmlReader GetAnimation (int id)

See Also

Resources.GetXml(int)

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.

Exceptions

TypeReason
!:NoType:android/content/res/Resources$NotFoundException;Href=../../../../reference/android/content/res/Resources.NotFoundException.htmlThrows NotFoundException if the given ID does not exist.

Remarks

Return an XmlResourceParser through which you can read an animation description for the given resource ID. This parser has limited functionality -- in particular, you can't change its input, and only the high-level events are available.

This function is really a simple wrapper for calling Resources.GetXml(int) with an animation resource.

[Android Documentation]

Requirements

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