relegate

@ApiStatus.Experimental
fun <S : Drawable> S.relegate(): S

Relegate this drawable, meaning it will, in relation to its siblings:

  • be drawn first (so visually on the bottom)

  • receive events last

this method is experimental as it may interfere with statically-typed references to children.

Since

1.1.71

See also