set Error Padding
fun setErrorPadding(startPx: Int?, topPx: Int?, endPx: Int?, bottomPx: Int?)
Content copied to clipboard
Sets the padding for the error message displayed below the card input fields.
Parameters
start Px
Padding (in pixels) for the left of the error message
top Px
Padding (in pixels) for the top of the error message
end Px
Padding (in pixels) for the right of the error message
bottom Px
Padding (in pixels) for the bottom of the error message
NOTE: If you want to set the padding around the entire control (including around the error message) use View.setPadding()