title: How to set the CharSequence for setError()
body: <p>I am very new to coding. What i'm trying to do is that when someone does not write anything, use an <code>setError()</code> like "Please write your your answer." However, when someone click the text box, i want the writing to go away but the error symbol to stay. I have seen and tried solution where you override the setError to just set the picture. </p>
  
  <pre><code>public MyEditText(Context context, AttributeSet attrs) {
      super(context, attrs);
  }
  
  @Override
  public void setError(CharSequence error, Drawable icon) {
      setCompoundDrawables(null, null, icon, null);
  
  }
  </code></pre>
  
  <p>However, with this method, i cannot set a charsequence</p>