title: setCompoundDrawablesWithIntrinsicBounds is not working properly
body: <p>I've an email field as <code>EditText</code>. I'm trying to add a green-tick icon at the end of the text field when the validation is true, and <code>setError</code> when it is false.</p>
  
  <p>Here's the piece of code I'm using right now:</p>
  
  <pre><code>email.setOnFocusChangeListener(new View.OnFocusChangeListener() {
          @Override
          public void onFocusChange(View v, boolean hasFocus) {
              if (!hasFocus) {
                  String mail = email.getText().toString();
                  if(!android.util.Patterns.EMAIL_ADDRESS.matcher(mail).matches()) {
                      email.setError("Please enter a valid email address");
                  } 
                  else {
                      Log.i("YaY","Email is valid!!!");
                      email.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.validated, 0);
                  }
              }
          }
      });
  </code></pre>
  
  <p><strong>PROBLEM:</strong></p>
  
  <p>Though I can see the log <code>Yay: Email is valid!!!</code>, it seems no icon is set as I can't see it.
  But when I change the <code>if-condition</code> to <code>false</code>, which means <code>setError</code> will never be called, I can see the log as well as the icon.</p>
  
  <p>Any explanations upon why I'm seeing this strange behavior? What am I missing?</p>