background

fun Style.background(background: Drawable?): Style

Sets a background on the View this Component mounts to. Setting this property will cause the Component to be represented as a View at mount time if it wasn't going to already.

The background's padding is read once, when this Style is created, and applied as padding on every layout. Padding that depends on the drawable's later state (e.g. the layout direction of an auto-mirrored drawable, which is set at mount) is not reflected; create a new Style to pick it up.

See android.view.View.setBackground