set Error Background Style
XML Attributes: errorBackgroundColor, errorBorderColor, errorBorderWidth, errorBorderRadius
Sets background styles for the error component of this view.
Important:
This method requires API level 27 or higher
Parameters
The background color (in hex format) for the error component, or null which defaults to transparent
The color for the background border (in hex format) of the error component, or null which defaults to transparent
The width of the background border in pixels, or null which defaults to 0
and removes the border
The radius for the corners of the border in pixels, or null which defaults to 0
and removes the border radius
XML Attributes: errorBackgroundColor, errorBorderColor, errorBorderWidth, errorBorderRadius
Sets background styles for the error component of this view.
Parameters
The background color for the error component, or null which defaults to transparent
The color for the background border of the error component, or null which defaults to transparent
The width of the background border in pixels, or null which defaults to 0
and removes the border
The radius for the corners of the border in pixels, or null which defaults to 0
and removes the border radius