Lingua

AnimatedStateListDrawable.AddState(Int32[], Drawable, Int32) Metodo

Definizione

Aggiungere un nuovo elemento drawable al set di fotogrammi chiave.

[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

Parametri

stateSet
Int32[]

Matrice di ID risorsa da associare al fotogramma chiave

drawable
Drawable

L'oggetto drawable da visualizzare quando nello stato specificato potrebbe non essere Null

id
Int32

Identificatore univoco per il fotogramma chiave

Attributi

Commenti

Aggiungere un nuovo elemento drawable al set di fotogrammi chiave.

per android.graphics.drawable.AnimatedStateListDrawable.addState(int[], android.graphics.drawable.Drawable, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a