AnimationUtils.LoadLayoutAnimation(Context, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads a LayoutAnimationController
object from a resource
[Android.Runtime.Register("loadLayoutAnimation", "(Landroid/content/Context;I)Landroid/view/animation/LayoutAnimationController;", "")]
public static Android.Views.Animations.LayoutAnimationController? LoadLayoutAnimation (Android.Content.Context? context, int id);
[<Android.Runtime.Register("loadLayoutAnimation", "(Landroid/content/Context;I)Landroid/view/animation/LayoutAnimationController;", "")>]
static member LoadLayoutAnimation : Android.Content.Context * int -> Android.Views.Animations.LayoutAnimationController
Parameters
- context
- Context
Application context used to access resources
- id
- Int32
The resource id of the animation to load
Returns
The animation controller object referenced by the specified id
- Attributes
Exceptions
when the layout animation controller cannot be loaded
Remarks
Loads a LayoutAnimationController
object from a resource
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.