(Android) TabHost in Scrollview scroll on content change
===

i've a ScrollView as parent. Inside there is a LinearLayout with ImageView and TabHost. I change the Content of the TabHost via Activities... While changing the Content, the Tabhost scrolls down to it's own tabs, s that the header ios no more visible... how can i prevent this?

tats my main.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <ScrollView 
        android:id="@+id/mainScroll"
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_gravity="center_horizontal"
        android:gravity="center_horizontal" >
        
        
    	<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
    	    android:id="@android:id/tabhost"
    	    android:layout_width="800px"
    	    android:layout_height="fill_parent"
    	    android:layout_gravity="center_horizontal" >
    	
    	    <LinearLayout
    	        android:layout_width="fill_parent"
    	        android:layout_height="fill_parent"
    	        android:orientation="vertical"
    	        android:padding="5dp" >
    	
    	        <ImageView
    	            android:id="@+id/header"
    	            android:layout_width="800px"
    	            android:layout_height="200px"
    	            android:src="@drawable/header" />
    	
    	        <TabWidget
    	            android:id="@android:id/tabs"
    	            android:layout_width="wrap_content"
    	            android:layout_height="50px" />
    	
    	        <FrameLayout
    	            android:id="@android:id/tabcontent"
    	            android:layout_width="fill_parent"
    	            android:layout_height="fill_parent"
    	            android:padding="5dp" />
    	    </LinearLayout>
    	
    	</TabHost>
    </ScrollView>

and thats my Activity to change the Content.

        public class UeberActivity extends Activity {
    
    	public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            
            setContentView(R.layout.ueber);
        }
    }


so how am i able to deny thi scrolling?

thanks in advance.


