setTextColor

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

XML Attribute: textColor


Sets the text color for the CVV input

Important:

This method requires API level 27 or higher

Parameters

colorHex

The color to be set (in Hex format)


fun setTextColor(color: Int)

XML Attribute: textColor


Sets the text color for the CVV input

Parameters

color

The color to be set