title: EditText revert back to grey text when disabled
body: <p>I am trying to disable a edittext view when I click on a checkbox. My only issue is that when I disable the edittext using the checkbox, the edittext field is still pink as if a cursor was still inside of it waiting for input. </p>
  
  <p><a href="https://i.stack.imgur.com/2rADh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2rADh.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/5fXgS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5fXgS.png" alt="enter image description here"></a></p>
  
  <p>How can I change that edittext color back to the normal state after the checkbox has been clicked? Here is the code I have so far: </p>
  
  <pre><code>            if (mAnonymousCheckBox.isChecked()) {
  
                  // remove preferences
                  usernameEditText.setFocusable(false);
                  usernameEditText.setEnabled(false);
                  setFTPUsername("");
                  setFTPPassword("");
              } 
  </code></pre>