title: Different background just for the selected list item
body: <p>In my application, I want to have a different background to the item which is selected in the <code>ListView</code>. In fact I don't have a plain ListView, its <code>ListFragment</code> out of which I am getting my ListView through <code>getListView()</code> method. I applied the selector programmatically like:</p>
  
  <pre><code>ListView listview = getListView();
  listview.setSelector(R.drawable.tablet_settings_list_selector);
  </code></pre>
  
  <p>And the list selector xml is like,</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="false" android:state_focused="false"
      android:drawable="@drawable/tablet_menu_panel" /&gt;
  &lt;item android:state_pressed="true" android:state_focused="true"
      android:drawable="@drawable/tablet_menu_panel_ontap" /&gt;
  &lt;item android:state_activated="true"
      android:drawable="@drawable/tablet_selected_menu" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>This is how my list should look like:</p>
  
  <p><img src="https://i.stack.imgur.com/au5fY.png" alt="ListView with different background for selected item"></p>
  
  <p>As you can see, the <strong>selected list item has different background with an outward arrow</strong> to it. So how can I achieve this?</p>