why tabhost Not fill whole width and hieght?
<p>Hi all I am developing TabHost I that 5 tab all are in rectangular shape. I used this code:</p>

<pre><code>&lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
&gt; 
&lt;LinearLayout
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"&gt;
&lt;FrameLayout
        android:id="@android:id/tabcontent"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"/&gt;        
&lt;TabWidget
        android:id="@android:id/tabs"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" 
        android:layout_weight="0"/&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>

<p>and only use selector xml in drawable. My problem is that when I set background image of tabhost that is not fill tab area image leave some space top and bottom. I use this code to fit the image but it is not working -</p>

<pre><code>    // Initialize a TabSpec for each tab and add it to the TabHost
    Drawable backgroundDrawable = res.getDrawable(R.drawable.tab_home); 
  //  tabnewfeeds = tabHost.newTabSpec("").setIndicator("", res.getDrawable(R.drawable.tab_home));
    View tempView = tabHost.getTabWidget().getChildAt(0);
    tempView.setBackgroundDrawable(
            new ScaleDrawable(
                    backgroundDrawable,
           Gravity.FILL,
           128,
           99));
    tabnewfeeds.setContent(intent);
    tabHost.addTab(tabnewfeeds);
</code></pre>

<p>How I achieve this? Sorry if my post doesn't explain my whole problem. Any suggestions? </p>
