setBoxBackgroundColorResource

open fun setBoxBackgroundColorResource(@ColorRes boxBackgroundColorId: Int)

Set the resource used for the filled box's background color.

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

Parameters

boxBackgroundColorId

the resource to use for the box's background color