setCardBorderColor

@RequiresApi(value = 27)
fun setCardBorderColor(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)


fun setCardBorderColor(color: Int)

Sets the border color for this view

Parameters

color

The color to be set