title: Android, setSelected() and state_selected
body: <p>I'm having trouble with <code>View.setSelected()</code>. <code>Views</code> are flagged as selected -- <code>TextViews</code>, for example, change their font color -- but my background selectors don't seem to register the change.</p>
  
  <p>Example selector:</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:drawable="@android:color/transparent" /&gt;
  
      &lt;item android:state_selected="true"&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;solid android:color="#ff8600" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>I'm not even sure which kind of context information would be useful. The views are children of a LinearLayout, and I'm programatically setting the selected state inside a touch event. As I said, it <em>does</em> seem to work, since the font color goes from white to gray, but the background stays the same.</p>
  
  <p><strong>Edit</strong>: I checked for silly mistakes before posting :P. The answer is not "add the android:background attribute".</p>