1

今、私は本当に厄介な問題を抱えています。I have a ScrollViewand inside the ScrollViewI have a TabHostand inside of one of these tabs I have a MapView、問題は、その構成ではMapView、タブを除いて画面全体を塗りつぶし、タブの下の空のスペースを埋めるだけであるということです!

私はこのようなものを持っています:

<ScrollView  xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context=".MainActivity" 
    android:id="@+id/scroll"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:fillViewport="true" > 
<LinearLayout
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical" 
    android:background="@color/white" >

<TabHost ..... >

<MapView ..... />

</TabHost>

</LinearLayout>
</ScrollView>

すべてを削除するScrollViewと完全に機能しますが、ここでは削除することはできません!

4

0 に答える 0