scroll view not working inside tab view
<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".Home" &gt;

&lt;RelativeLayout
    android:id="@+id/header_layout"
    android:layout_width="match_parent"
    android:layout_height="40dp"
    android:background="#276186"
    android:orientation="vertical" &gt;

    &lt;TextView
        android:id="@+id/txtHeaderName"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:gravity="center"
        android:text="Header"
        android:textAppearance="?android:attr/textAppearanceMedium" /&gt;

    &lt;Button
        android:id="@+id/btnBack"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="2dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="2dp"
        android:background="@drawable/back"
        android:text="Back"
        android:textColor="#ffffff" /&gt;
&lt;/RelativeLayout&gt;

&lt;LinearLayout
    android:layout_width="match_parent"
    android:layout_height="fill_parent"
    android:background="#ffffff" &gt;

    &lt;TabHost
        android:id="@+id/tabhost"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:splitMotionEvents="false" &gt;

        &lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical" &gt;

            &lt;TabWidget
                android:id="@android:id/tabs"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:fitsSystemWindows="true" &gt;
            &lt;/TabWidget&gt;

            &lt;FrameLayout
                android:id="@android:id/tabcontent"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:measureAllChildren="false" &gt;

                &lt;LinearLayout
                    android:id="@+id/tbInfo"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical"
                    android:weightSum="8" &gt;

                    &lt;ImageView
                        android:id="@+id/imgBanner"
                        android:layout_width="fill_parent"
                        android:layout_height="0dp"
                        android:layout_weight="2.25"
                        android:focusable="true"
                        android:focusableInTouchMode="true"
                        android:src="@drawable/back" /&gt;

                    &lt;ScrollView
                        android:id="@+id/scrollView1"
                        android:layout_width="match_parent"
                        android:layout_height="0dp"
                        android:layout_weight="5.75" &gt;

                        &lt;LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:focusable="false"
                            android:focusableInTouchMode="false"
                            android:orientation="vertical" &gt;

                            &lt;RelativeLayout
                                android:id="@+id/profileRelativeLayout"
                                android:layout_width="match_parent"
                                android:layout_height="60dp"
                                android:background="#d7d7d7"
                                android:orientation="vertical" &gt;

                                &lt;ImageView
                                    android:id="@+id/imgProfile"
                                    android:layout_width="50dp"
                                    android:layout_height="50dp"
                                    android:layout_alignParentLeft="true"
                                    android:layout_centerInParent="false"
                                    android:layout_centerVertical="true"
                                    android:padding="2dp"
                                    android:src="@drawable/ic_launcher" /&gt;

                                &lt;LinearLayout
                                    android:id="@+id/layoutProfileInfo"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:layout_alignParentBottom="false"
                                    android:layout_alignParentTop="false"
                                    android:layout_centerVertical="true"
                                    android:layout_toRightOf="@+id/imgProfile"
                                    android:gravity="left|center_vertical"
                                    android:orientation="vertical" &gt;

                                    &lt;TextView
                                        android:id="@+id/txtProfileHeader"
                                        android:layout_width="fill_parent"
                                        android:layout_height="wrap_content"
                                        android:layout_marginRight="2dp"
                                        android:text="Cofee Shop"
                                        android:textAppearance="?android:attr/textAppearanceMedium"
                                        android:textColor="#000000"
                                        android:textSize="15sp"
                                        android:textStyle="bold" /&gt;

                                    &lt;LinearLayout
                                        android:layout_width="match_parent"
                                        android:layout_height="wrap_content"
                                        android:orientation="vertical" &gt;

                                        &lt;TextView
                                            android:id="@+id/txtAddress"
                                            android:layout_width="fill_parent"
                                            android:layout_height="wrap_content"
                                            android:layout_marginRight="2dp"
                                            android:text="nawala, Colombo 09, colombo, 000097776, Sri Lanka"
                                            android:textColor="#000000"
                                            android:textSize="13sp" /&gt;

                                    &lt;/LinearLayout&gt;
                                &lt;/LinearLayout&gt;
                            &lt;/RelativeLayout&gt;

                            &lt;LinearLayout
                                android:layout_width="match_parent"
                                android:layout_height="27dp"
                                android:background="#a8a8a8"
                                android:orientation="vertical" &gt;

                                &lt;TextView
                                    android:id="@+id/textView2"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:layout_marginBottom="2dp"
                                    android:layout_marginLeft="10dp"
                                    android:layout_marginTop="2dp"
                                    android:text="ABOUT"
                                    android:textAppearance="?android:attr/textAppearanceMedium"
                                    android:textColor="#ffffff"
                                    android:textSize="18sp"
                                    android:textStyle="bold" /&gt;
                            &lt;/LinearLayout&gt;

                            &lt;LinearLayout
                                android:layout_width="match_parent"
                                android:layout_height="50dp"
                                android:layout_gravity="center"
                                android:background="#d7d7d7"
                                android:orientation="vertical" &gt;

                                &lt;TextView
                                    android:id="@+id/textView3"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:layout_marginBottom="2dp"
                                    android:layout_marginLeft="10dp"
                                    android:layout_marginTop="2dp"
                                    android:gravity="center_vertical"
                                    android:text="Coffee"
                                    android:textColor="#000000"
                                    android:textSize="16sp" /&gt;
                            &lt;/LinearLayout&gt;

                            &lt;LinearLayout
                                android:layout_width="match_parent"
                                android:layout_height="27dp"
                                android:background="#a8a8a8"
                                android:orientation="vertical" &gt;

                                &lt;TextView
                                    android:id="@+id/txtBusinessShortDescription"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:layout_marginBottom="2dp"
                                    android:layout_marginLeft="10dp"
                                    android:layout_marginTop="2dp"
                                    android:text="MORE"
                                    android:textAppearance="?android:attr/textAppearanceMedium"
                                    android:textColor="#ffffff"
                                    android:textSize="18sp"
                                    android:textStyle="bold" /&gt;
                            &lt;/LinearLayout&gt;

                            &lt;LinearLayout
                                android:layout_width="match_parent"
                                android:layout_height="50dp"
                                android:layout_gravity="center"
                                android:background="#d7d7d7"
                                android:orientation="vertical" &gt;

                                &lt;TextView
                                    android:id="@+id/txtBusinessDescription"
                                    android:layout_width="fill_parent"
                                    android:layout_height="fill_parent"
                                    android:layout_marginBottom="2dp"
                                    android:layout_marginLeft="10dp"
                                    android:layout_marginTop="2dp"
                                    android:gravity="center_vertical"
                                    android:text="Best coffee"
                                    android:textColor="#000000"
                                    android:textSize="16sp" /&gt;
                            &lt;/LinearLayout&gt;

                            &lt;WebView
                                android:id="@+id/wvDescription"
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content"
                                android:focusable="false"
                                android:focusableInTouchMode="false" /&gt;

                        &lt;/LinearLayout&gt;
                    &lt;/ScrollView&gt;
                &lt;/LinearLayout&gt;

                &lt;LinearLayout
                    android:id="@+id/tbProducts"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical" &gt;

                    &lt;FrameLayout
                        android:id="@+id/productFrameLayout"
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent" &gt;

                        &lt;ListView
                            android:id="@+id/lstProductList"
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent" &gt;
                        &lt;/ListView&gt;

                    &lt;/FrameLayout&gt;

                &lt;/LinearLayout&gt;
            &lt;/FrameLayout&gt;
        &lt;/LinearLayout&gt;
    &lt;/TabHost&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>

<pre><code>description = (WebView) findViewById(R.id.wvDescription);
    String contentData = "&lt;dl&gt;&lt;dt style='margin-top:5pt;'&gt;What We Offer&lt;/dt&gt;&lt;dd&gt;The Best Coffee In Town&lt;/dd&gt;&lt;dd&gt;All The Website Info Can Be Entered&lt;/dd&gt;&lt;dd&gt;No Restrictions Applied&lt;/dd&gt;&lt;dd&gt;You Can Add Anything You Like&lt;/dd&gt;&lt;dt style='margin-top:5pt;'&gt;Daily Promos&lt;/dt&gt;&lt;dd&gt;Buy 4 And Get 2free(only For Ladies)&lt;/dd&gt;&lt;dd&gt;No panties And Get All Free (for Under 20 Girls Only)&lt;/dd&gt;&lt;dd&gt;Www.google.com&lt;/dd&gt;&lt;/dl&gt;";
    description.loadDataWithBaseURL(null, contentData, "text/html",
            "UTF-8", null);
    description.setOnTouchListener(new OnTouchListener() {

        @Override
        public boolean onTouch(View v, MotionEvent event) {
            // TODO Auto-generated method stub
            return true;
        }
    });

    infoTab = tabHost.newTabSpec("Pure Air");
    infoTab.setIndicator("Pure Air",
            getResources().getDrawable(R.drawable.icon_info_off));
    infoTab.setContent(new TabHost.TabContentFactory() {
        public View createTabContent(String tag) {
            tabInfo = (LinearLayout) findViewById(R.id.tbInfo);
            return tabInfo;
        }
    });
    tabHost.addTab(infoTab);

    productTab = tabHost.newTabSpec("Products");
    productTab.setIndicator("Products",
            getResources().getDrawable(R.drawable.icon_info_off));
    productTab.setContent(new TabHost.TabContentFactory() {
        public View createTabContent(String tag) {
            tabProducts = (LinearLayout) findViewById(R.id.tbProducts);
            return tabProducts;
        }
    });
    tabHost.addTab(productTab);
</code></pre>

<p>Hi, I'm new to android and im trying to create a tab view in my application. inside the tab view i have a scrolling view and inside scrolling view i have a web view. the views working fine. but the scroll view not scrolling. If i goto the second tab and come back to the fist tab it worked perfectly but scroll view focused bottom child.</p>

<p>Please can anyone direct me what i'm missing here....</p>
