setCvvBackgroundStyle

@RequiresApi(value = 27)
fun setCvvBackgroundStyle(backgroundColorHex: String? = null, borderColorHex: String? = null, borderWidthPx: Float? = null, borderRadiusPx: Float? = null)

XML Attributes: cvvBackgroundColor, cvvBorderColor, cvvBorderWidth, cvvBorderRadius


Sets background styles for the CVV input

Parameters

backgroundColorHex

The background color (in hex format) for the CVV input component, or null which defaults to transparent

borderColorHex

The color for the background border (in hex format) of the CVV input component, or null which defaults to transparent

borderWidthPx

The width of the background border (in pixels), or null which defaults to 0 and removes the border

borderRadiusPx

The radius for the corners of the border (in pixels), or null which defaults to 0 and removes the border radius


fun setCvvBackgroundStyle(backgroundColor: Int? = null, borderColor: Int? = null, borderWidthPx: Float? = null, borderRadiusPx: Float? = null)

XML Attributes: cvvBackgroundColor, cvvBorderColor, cvvBorderWidth, cvvBorderRadius


Sets background styles for the CVV input

Parameters

backgroundColor

The background color for the CVV input component, or null which defaults to transparent

borderColor

The color for the background border of the CVV input component, or null which defaults to transparent

borderWidthPx

The width of the background border (in pixels), or null which defaults to 0 and removes the border

borderRadiusPx

The radius for the corners of the border (in pixels), or null which defaults to 0 and removes the border radius