See Also: LayerDrawable
public class LayerDrawable : Drawable, Drawable+ICallback, IDisposable
A Drawable that manages an array of other Drawables. These are drawn in array order, so the element with the largest index will be drawn on top.
It can be defined in an XML file with the <layer-list> element. Each Drawable in the layer is defined in a nested <item>.
For more information, see the guide to Drawable Resources.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.Graphics.Drawables.LayerDrawable are listed below.
See Also: Drawable
Draw in its bounds (set via setBounds) respecting optional effects such as alpha (set via setAlpha) and color filter (set via setColorFilter).
Looks for a layer with the given ID and returns its Drawable.
Returns the drawable for the layer at the specified index.
Returns the ID of the specified layer.
Called when the drawable needs to be redrawn.
|ScheduleDrawable(Drawable, IRunnable, Int64)|
A Drawable can call this to schedule the next frame of its animation.
|ScheduleDrawable(Drawable, Action, Int64)|
Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque.
Specify an optional color filter for the drawable.
Replaces the Drawable for the layer with the given id.
Sets the ID of a layer.
|SetLayerInset(Int32, Int32, Int32, Int32, Int32)|
Specifies the insets in pixels for the drawable at the specified index.
Sets the opacity of this drawable directly instead of collecting the states from the layers.
A Drawable can call this to unschedule an action previously scheduled with ICallback.