Adding Icons to a Tab List using Sherlock Action Bar
<p>i've been trying to figure out how to add icons beside the text array on the sherlock action bar tabs when using the NAVIGATION_MODE_LIST mode.</p>

<p><img src="http://i.stack.imgur.com/q5Wa8.png" alt="Sherlock Tab List Mode Navigation"></p>

<p>I am trying to figure this part out:</p>

<pre><code>    Context context = getSupportActionBar().getThemedContext();
    ArrayAdapter&lt;CharSequence&gt; listAdapter = ArrayAdapter.createFromResource(context, R.array.locations, R.layout.sherlock_spinner_item);
    listAdapter.setDropDownViewResource(R.layout.sherlock_spinner_dropdown_item);
</code></pre>

<p>I can see we're using an array of text, and then the layout "sherlock_spinner_item"</p>

<p>if i use my own layout:</p>

<p>TABS.XML</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;
  &lt;string-array name="tab_names"&gt;
    &lt;item&gt;Tab1&lt;/item&gt;
    &lt;item&gt;Tab2&lt;/item&gt;
    &lt;item&gt;Tab3&lt;/item&gt;
  &lt;/string-array&gt;

  &lt;array name="tab_icons"&gt;
    &lt;item&gt;@drawable/icon&lt;/item&gt;
    &lt;item&gt;@drawable/icon&lt;/item&gt;
    &lt;item&gt;@drawable/icon&lt;/item&gt;
  &lt;/array&gt;
&lt;/resources&gt;
</code></pre>

<p>How can i go about doing that?</p>
