How to achieve rounded tabs in Android 2.1 +
<p>Can anyone help me achieve rounded corners for the TabWidget with android 2.1 + .  I am basically trying to give the TabWidget a custom theme purely via xml configuration.  I have tried the following, but only the text color changes.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;
    &lt;color name="Tab_ForeColor"&gt;#6095C1&lt;/color&gt;
    &lt;color name="Tab_BackgroundColor"&gt;#411485&lt;/color&gt;

    &lt;style name="TestTheme" parent="android:Theme.Black"&gt;
        &lt;item name="android:tabWidgetStyle"&gt;@style/TestTab&lt;/item&gt;
    &lt;/style&gt;

    &lt;style name="TestTab" parent="@android:style/Widget.TabWidget"&gt;
        &lt;item name="android:textAppearance"&gt;@style/TestTextApperance&lt;/item&gt;
        &lt;item name="android:drawable"&gt;
            &lt;drawable name="rounded_tab"&gt;
                &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
                    android:shape="rectangle"&gt;
                    &lt;stroke android:width="3dip" android:color="@android:color/white" /&gt;
                    &lt;solid android:color="@android:color/white" /&gt;
                    &lt;corners android:bottomRightRadius="0.1dip"
                        android:bottomLeftRadius="0.1dip" android:topLeftRadius="15dip"
                        android:topRightRadius="15dip" /&gt;
                &lt;/shape&gt;
            &lt;/drawable&gt;
        &lt;/item&gt;
    &lt;/style&gt;

    &lt;style name="TestTextApperance"&gt;
        &lt;item name="android:textSize"&gt;14dp&lt;/item&gt;
        &lt;item name="android:textStyle"&gt;normal&lt;/item&gt;
        &lt;item name="android:textColor"&gt;@color/Tab_ForeColor&lt;/item&gt;
    &lt;/style&gt;
&lt;/resources&gt;
</code></pre>

<p>TIA</p>

<p>Andrew</p>
