LayerDrawableResolver

fun LayerDrawableResolver(vararg layers: DrawableResolver)

Behaves the same as the primary DrawableResolver constructor, except that no list has to be created.

Parameters

layers

The drawables to layer. These are drawn in the arguments' order, so the element specified last will be drawn on top.


fun LayerDrawableResolver(layers: List<DrawableResolver>)

Parameters

layers

The drawables to layer. These are drawn in the list's order, so the element with the largest index will be drawn on top.