Android.Graphics.Drawables.LayerDrawable: Method Members

The methods of Android.Graphics.Drawables.LayerDrawable are listed below. For a list of all members, see the LayerDrawable Members list.

See Also: Inherited members from Android.Graphics.Drawables.Drawable

Public Methods

override
Draw(Android.Graphics.Canvas)
Draw in its bounds (set via setBounds) respecting optional effects such as alpha (set via setAlpha) and color filter (set via setColorFilter).
FindDrawableByLayerId(int) : Drawable
Looks for a layer with the given ID and returns its Android.Graphics.Drawables.Drawable.
GetDrawable(int) : Drawable
Returns the drawable at the specified layer index.
GetId(int) : int
Returns the id of the specified layer.
InvalidateDrawable(Drawable)
Called when the drawable needs to be redrawn.
ScheduleDrawable(Drawable, Java.Lang.IRunnable, long)
A Drawable can call this to schedule the next frame of its animation.
ScheduleDrawable(Drawable, Action, long)
Documentation for this section has not yet been entered.
override
SetAlpha(int)
Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque.
override
SetColorFilter(Android.Graphics.ColorFilter)
Specify an optional color filter for the drawable.
SetDrawableByLayerId(int, Drawable) : bool
Sets (or replaces) the Android.Graphics.Drawables.Drawable for the layer with the given id.
SetId(int, int)
Sets the ID of a layer.
SetLayerInset(int, int, int, int, int)
Specifies the insets in pixels for the drawable at the specified index.
SetOpacity(int)
Sets the opacity of this drawable directly, instead of collecting the states from the layers
UnscheduleDrawable(Drawable, Java.Lang.IRunnable)
A Drawable can call this to unschedule an action previously scheduled with NoType:android/graphics/drawable/Drawable$Callback;Href=../../../../reference/android/graphics/drawable/Drawable.Callback.html#scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long).
UnscheduleDrawable(Drawable, Action)
Documentation for this section has not yet been entered.