Function

background

Draws a solid color background behind the content.

background

Source set: Android
public fun RemoteModifier.background(color: RemoteColor): RemoteModifier

Draws a solid color background behind the content.

Parameters

color The RemoteColor to use for the background.

background

Source set: Android
public fun RemoteModifier.background(painter: RemotePainter): RemoteModifier

Draws a painter behind the content.

Parameters

painter The RemotePainter to use for the background.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: