setCardBackgroundColor

@RequiresApi(value = 27)
fun setCardBackgroundColor(colorHex: String)

Sets the border color for this view

Important:

This method requires API level 27 or higher

Parameters

colorHex

The color to be set (in Hex format)


Sets the border color for this view

Parameters

color

The color to be set