code: 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);
          }
      }
docs: Shows a specific message at the right edge of the view.
  
  @param message
  The message, which should be shown, as an instance of the type {@link CharSequence}
  or null, if no message should be shown
  @param error
  True, if the message should be highlighted as an error, false otherwise