code: public final void setPlaceholder(String text,
                                       @ColorInt int backgroundColor,
                                       @ColorInt int textColor) {
          boolean invalidate = false;
          // Set the placeholder background color
          if (backgroundColor != mBackgroundColor) {
              mBackgroundColor = backgroundColor;
              if (null != mBackgroundPaint) {
                  mBackgroundPaint.setColor(backgroundColor);
                  invalidate = true;
              }
          }
          // Set the placeholder text color
          if (!text.equalsIgnoreCase(mText) ||
              (backgroundColor != mBackgroundColor) ||
              (textColor != mTextColor)) {
              setPlaceholderTextInternal(text, textColor, mTextSize, false);
              invalidate = true;
          }
  
          if (invalidate) {
              invalidate();
          }
      }
docs: Set the placeholder text and colors.
  
  @param text
  @param backgroundColor
  @param textColor