像下面的佈局顯示的那樣,當列表中的項目太多時,會出現多個屏幕。無法看到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