setBoxBackgroundColorStateList

open fun setBoxBackgroundColorStateList(@NonNull boxBackgroundColorStateList: ColorStateList)

Sets the box's background color state list.

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

boxBackgroundColorStateList

the color state list to use for the box's background color