title: Android EditText, getting ALL the states
body: <p>I have a trivial XML drawable happy_borders.xml which is to be the background for some EditText.</p>
  
  <pre><code>        &lt;EditText
              android:background="@drawable/happy_borders
  </code></pre>
  
  <p>Of course that doesn't work, because on <strong>many/most devices it will <em>focus</em> the first one, and then you get nothing as the background</strong>.</p>
  
  <p>So you do something like this ... file happy_states.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!-- res/drawable/rounded_edittext_states.xml --&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item
          android:state_pressed="true"
          android:drawable="@drawable/happy_borders" /&gt;
      &lt;item
          android:state_focused="true"
          android:drawable="@drawable/happy_borders" /&gt;
      &lt;item
          android:state_enabled="true"
          android:drawable="@drawable/happy_borders" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>        &lt;EditText
              android:background="@drawable/happy_states
  </code></pre>
  
  <p>No problem but </p>
  
  <p>(1) there are actually an enormous list of <code>android:state_ ...</code> - what's the deal there?  In the <code>selector</code> is there a way to imply "do this for every state"??</p>
  
  <p>(2) alternately.  Inside an EditText.  Can you tell it to be "stateless" and never, ever, concern itself with states?  ie, use only the one background ever?</p>
  
  <p>Note that in many cases it's better engineering, I think, to just put a separate view behind the EditText; but anyway I want to know how to achieve (1) or (2) above.</p>