Udostępnij za pośrednictwem


DrawableContainer.DrawableContainerState.AddChild(Drawable) Method

Definition

Adds the drawable to the end of the list of contained drawables.

[Android.Runtime.Register("addChild", "(Landroid/graphics/drawable/Drawable;)I", "")]
public int AddChild (Android.Graphics.Drawables.Drawable? dr);
[<Android.Runtime.Register("addChild", "(Landroid/graphics/drawable/Drawable;)I", "")>]
member this.AddChild : Android.Graphics.Drawables.Drawable -> int

Parameters

dr
Drawable

the drawable to add

Returns

the position of the drawable within the container

Attributes

Remarks

Adds the drawable to the end of the list of contained drawables.

Java documentation for android.graphics.drawable.DrawableContainer.DrawableContainerState.addChild(android.graphics.drawable.Drawable).

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.

Applies to