网页视图下方带有标签栏

| 屏幕底部有一个标签栏。 XML文件如下所示:
<TabHost android:layout_width=\"fill_parent\"
    android:layout_height=\"fill_parent\"
    android:id=\"@android:id/tabhost\"
    xmlns:android=\"http://schemas.android.com/apk/res/android\" >
    <RelativeLayout
    android:layout_width=\"fill_parent\"
    android:layout_height=\"fill_parent\" 
    android:background=\"@color/background\">
    <TabWidget
    android:layout_width=\"fill_parent\"
    android:layout_height=\"wrap_content\"
    android:id=\"@android:id/tabs\"
    android:layout_alignParentBottom=\"true\" />
     <FrameLayout
     android:layout_width=\"fill_parent\"
    android:layout_height=\"fill_parent\"
    android:id=\"@android:id/tabcontent\" >

    </FrameLayout>
   </RelativeLayout>
</TabHost>
在其中一个页面上,我有一个webview。 XML档案:
    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
    android:orientation=\"vertical\"
    android:layout_width=\"fill_parent\"
    android:layout_height=\"wrap_content\"
    android:background=\"@color/background\"

    >

    <RadioGroup 
        android:layout_width=\"fill_parent\" 
        android:layout_height=\"wrap_content\" 
        android:orientation=\"horizontal\"
        android:gravity=\"center_horizontal\"

        android:id=\"@+id/group1\"

    > 


<nl.smartcityguide.geurenkleuren.SegmentedControlButton android:checked=\"false\" android:text=\"@string/string1\" android:id=\"@+id/option1\" />
<nl.smartcityguide.geurenkleuren.SegmentedControlButton android:checked=\"false\" android:text=\"@string/string2\" android:id=\"@+id/option2\" />

</RadioGroup>


<WebView
    android:layout_width=\"fill_parent\"
    android:layout_height=\"wrap_content\"
    android:id=\"@+id/webview1\"

>
</WebView>



</LinearLayout>
问题是web视图中的网页太长,选项卡消失了。我该如何解决这个问题? 亲切的问候, 约阿希姆     
已邀请:
我修改了您的代码。现在,它的工作符合预期。
<?xml version=\"1.0\" encoding=\"utf-8\"?>
    <RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
    android:orientation=\"vertical\"
    android:layout_width=\"fill_parent\"
    android:layout_height=\"wrap_content\"
    android:background=\"@color/background\"

    >

<WebView
    android:layout_width=\"fill_parent\"
    android:layout_height=\"wrap_content\"
    android:id=\"@+id/webview1\"
    android:layout_alignParentBottom=\"true\"
>
</WebView>
    <RadioGroup 
        android:layout_width=\"fill_parent\" 
        android:layout_height=\"wrap_content\" 
        android:orientation=\"horizontal\"
        android:gravity=\"center_horizontal\"

        android:id=\"@+id/group1\"
        android:layout_above=\"@+id/webview1\"
    > 


<nl.smartcityguide.geurenkleuren.SegmentedControlButton android:checked=\"false\" android:text=\"@string/string1\" android:id=\"@+id/option1\" />
<nl.smartcityguide.geurenkleuren.SegmentedControlButton android:checked=\"false\" android:text=\"@string/string2\" android:id=\"@+id/option2\" />

</RadioGroup>
如果我的回复对您有帮助,请不要忘记投票。 谢谢 迪帕克     

要回复问题请先登录注册