public final void setErrorColor ( @ ColorInt final int color ) { this . errorColor = color ; if ( ( Boolean ) leftMessage . getTag ( ) ) { leftMessage . setTextColor ( color ) ; } if ( ( Boolean ) rightMessage . getTag ( ) ) { rightMessage . setTextColor ( color ) ; } }
Sets the color which should be used to indicate validation errors .