title: Navigation Drawer highlight selected item not working
body: <p>I'm trying to highlight the selected nav drawer item but it doesn't work. it only highlights on pressing the items but does not remain highlighted after the item is selected.</p>
  
  <p>I have the following code:</p>
  
  <p><strong>The ListView:</strong></p>
  
  <pre><code>&lt;ListView
      android:id="@+id/drawer_listview"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:choiceMode="singleChoice"
      android:divider="@color/drawer_divider"
      android:dividerHeight="@dimen/drawer_divider_height"
      android:listSelector="@drawable/list_selector_holo_light" /&gt;
  </code></pre>
  
  <p><strong>The Selector:</strong></p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item android:drawable="@android:color/transparent" android:state_window_focused="false"/&gt;
  &lt;item android:drawable="@drawable/list_selector_disabled_holo_light" android:state_enabled="false" android:state_focused="true" android:state_pressed="true"/&gt;
  &lt;item android:drawable="@drawable/list_selector_disabled_holo_light" android:state_enabled="false" android:state_focused="true"/&gt;
  &lt;item android:drawable="@drawable/list_selector_background_transition_holo_light" android:state_focused="true" android:state_pressed="true"/&gt;
  &lt;item android:drawable="@drawable/list_selector_background_transition_holo_light" android:state_focused="false" android:state_pressed="true"/&gt;
  &lt;item android:drawable="@drawable/list_activated_holo" android:state_activated="true" /&gt;
  &lt;item android:drawable="@drawable/list_focused_holo" android:state_focused="true"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>The drawables are 9-patch files generated with <a href="http://android-holo-colors.com/">Android Holo Colors</a>.</p>
  
  <p>In my activity:</p>
  
  <pre><code>  mListView.setAdapter(mAdapter);
    mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
    mListView.setItemChecked(1, true); // Testing
    mListView.setSelection(1); // Testing
  </code></pre>
  
  <p>As far as I know, the <code>state_activated="true"</code> in the selector is when the listView item is checked/selected. but it doesn't work.</p>
  
  <h1>Edit:</h1>
  
  <p>I set <code>android:background="@drawable/list_selector_holo_light"</code> for the row layout and now it is working, but I still have no idea why listSelector is not working.</p>