How to add an icon to actiontab
<p>Hi I have followed the tutorial below exactly and now I'm wondering how I can add an icon to each tab? I only know how to add an icon to a menu but not a tab. Also I'm new to android, so it would be awsome if someone could tell me <strong>exactly</strong> where the <code>android:icon="@drawable/ic_action_view_as_list"</code> should go.</p>

<p>As it is now it is only adding the Text with the argument <code>ActionBar.Tab tabB = bar.newTab().setText("Summary");</code> but I also want for example tabB to have the <code>android:icon="@drawable/ic_action_view_as_list"</code> </p>

<p><a href="http://www.youtube.com/watch?v=gMu8XhxUBl8" rel="nofollow">here is the tutorial</a></p>

<p><a href="http://www.abelski.com/courses/android3ui/actionbar.pdf" rel="nofollow">and here</a></p>

<p>Thanks</p>
