slot

abstract fun slot(slot: String): Layer

The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.

Parameters

slot

value of slot. Setting it to empty string removes the slot.


abstract val slot: String?

The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.