protected final void setRightMessage ( @ Nullable final CharSequence message , final boolean error ) { if ( message != null ) { rightMessage . setVisibility ( View . VISIBLE ) ; rightMessage . setText ( message ) ; rightMessage . setTextColor ( error ? getErrorColor ( ) : getHelperTextColor ( ) ) ; rightMessage . setTag ( error ) ; } else { rightMessage . setTag ( false ) ; rightMessage . setVisibility ( View . GONE ) ; } }
Shows a specific message at the right edge of the view .