title: Maintaining highlight for selected item in fragment?
body: <p>I have a layout with two fragments.  The left hand fragment is a ListFragment using a SimpleCursorAdaptor, the right hand one is populated with details about the item selected from the list in the left fragment.  I'm trying to figure out how to make sure the selected item from the ListFragment <em>stays</em> highlighted until another item in the list is selected.</p>
  
  <p>After some research I got as far as trying to use <code>android:background="@drawable/item_selector"</code> I can changes the colors for the different states, but none of them seem to persist.  I thought that selected would... it just seems logical that your selected item remains the selected item until you select a different one.</p>
  
  <p>I even tried using <code>v.setSelected(true);</code> in my clickhandler hoping it might maintain the state, but that didn't work either.</p>
  
  <p>Is there a state I'm missing?  I looked through the dev docs and nothing else seemed appropriate...</p>
  
  <p><strong>item_selector.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item 
          android:state_pressed="true" 
          android:drawable="@color/green" /&gt;
      &lt;item 
          android:state_selected="true" 
          android:drawable="@color/blue" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>I'm not sure what other code might help, so feel free to ask for whatever else you might think necessary.</p>