AnimatedStateListDrawable.AddState(Int32[], 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.
Add a new drawable to the set of keyframes.
[Android.Runtime.Register("addState", "([ILandroid/graphics/drawable/Drawable;I)V", "GetAddState_arrayILandroid_graphics_drawable_Drawable_IHandler")]
public virtual void AddState (int[] stateSet, Android.Graphics.Drawables.Drawable drawable, int id);
[<Android.Runtime.Register("addState", "([ILandroid/graphics/drawable/Drawable;I)V", "GetAddState_arrayILandroid_graphics_drawable_Drawable_IHandler")>]
override this.AddState : int[] * Android.Graphics.Drawables.Drawable * int -> unit
Parameters
- stateSet
- Int32[]
An array of resource IDs to associate with the keyframe
- drawable
- Drawable
The drawable to show when in the specified state, may not be null
- id
- Int32
The unique identifier for the keyframe
- Attributes
Remarks
Add a new drawable to the set of keyframes.
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.