setErrorPadding

fun setErrorPadding(startPx: Int?, topPx: Int?, endPx: Int?, bottomPx: Int?)

XML Attributes: errorStartPadding, errorTopPadding, errorEndPadding, errorBottomPadding


Sets the padding for the error message displayed below the card input fields.

Parameters

startPx

Padding (in pixels) for the left of the error message

topPx

Padding (in pixels) for the top of the error message

endPx

Padding (in pixels) for the right of the error message

bottomPx

Padding (in pixels) for the bottom of the error message