像下面的布局显示的那样,当列表中的项目太多时,会出现多个屏幕。无法看到RelativeLayout内容
我向下拖动时看不到以下LinearLayout内容。
如何解决这个问题?
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="wrap_content"
android:layout_height="100dp"
android:layout_below="@+id/list"
android:layout_centerHorizontal="true"
android:orientation="horizontal" >
<TextView
android:id="@+id/UserIDStatic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/UserID" />
.
.
.
</LinearLayout>
</RelativeLayout>
在此先感谢!
尝试使用''列表视图,而不是 –
SudoRahul
2013-02-19 07:38:46
放hieght或将滚动视图在乌拉圭回合布局... – duggu 2013-02-19 07:46:12