【发布时间】:2014-11-30 18:08:27
【问题描述】:
我正在开发一个安卓应用程序。
我将 LinearLayout 放在 ListView 上。我想滚动与 ListView 结合的 LinearLayout。
我的 xml 在下面。
你能告诉我上面的实现方法吗?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/header1"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_margin="3dp"
android:choiceMode="singleChoice"
android:orientation="vertical" >
・・・
</LinearLayout>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:choiceMode="singleChoice" />
</LinearLayout>
【问题讨论】:
标签: android listview scroll android-linearlayout