Android, how to change the default color of Tab Widget in android
<pre><code>    public static void setTabColor(TabHost tabhost) {
    for(int i=0;i&lt;tabhost.getTabWidget().getChildCount();i++)
    {
        tabhost.getTabWidget().getChildAt(i).setBackgroundColor(Color.BLACK); //unselected
    }
    tabhost.getTabWidget().getChildAt(tabhost.getCurrentTab()).setBackgroundColor(Color.BLUE); // selected
}
</code></pre>

<p>Please tell me where am i doing mistake...</p>

<p>i want to change the default background color of Tab Button, here only once in first Tab background color change but after that color is not changing when i am selecting other tab...</p>

<p>Please guide me, Thanks in advance...</p>
