AnimationDrawable.AddFrame(Drawable, 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.
Adds a frame to the animation
[Android.Runtime.Register("addFrame", "(Landroid/graphics/drawable/Drawable;I)V", "GetAddFrame_Landroid_graphics_drawable_Drawable_IHandler")]
public virtual void AddFrame (Android.Graphics.Drawables.Drawable frame, int duration);
[<Android.Runtime.Register("addFrame", "(Landroid/graphics/drawable/Drawable;I)V", "GetAddFrame_Landroid_graphics_drawable_Drawable_IHandler")>]
abstract member AddFrame : Android.Graphics.Drawables.Drawable * int -> unit
override this.AddFrame : Android.Graphics.Drawables.Drawable * int -> unit
Parameters
- frame
- Drawable
The frame to add
- duration
- Int32
How long in milliseconds the frame should appear
- Attributes
Remarks
Adds a frame to the animation
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.