setBoxBackgroundColor

open fun setBoxBackgroundColor(boxBackgroundColor: Int)

Set the filled box's background color.

Note: The background color is only supported for filled boxes. When used with box variants other than BoxBackgroundMode.BOX_BACKGROUND_FILLED, the box background color may not work as intended.

Parameters

boxBackgroundColor

the color to use for the filled box's background

See also

#getBoxBackgroundColor()