0
滚动我有这样的布局:RelativeLayout的具有两个列表视图
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<TextView
android:id="@+id/campomodulo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="21sp"
android:textAppearance="?android:attr/textAppearanceMedium" />
<ListView
android:id="@+id/listagiocatori"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/campomodulo" >
</ListView>
<ListView
android:id="@+id/panchina"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/listagiocatori" >
</ListView>
第一列表视图填充大约一半显示,加入第二正下方的是,这两个列表视图的总高度超过屏幕,所以我有第二个listview的滚动。
我想要一般的滚动,不仅仅是第二个listview。我怎样才能做到这一点?