Android 如何在expandablelistview上滚动其他元素?

Android 如何在expandablelistview上滚动其他元素?,android,Android,我使用的是expandablelistview,但我希望当我展开一个组时,滚动版面上的所有iTen,包括上面的textview和imageview 这是我的密码: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="

我使用的是expandablelistview,但我希望当我展开一个组时,滚动版面上的所有iTen,包括上面的textview和imageview

这是我的密码:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<RelativeLayout
    android:id="@+id/toolbar"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_margin="7dp">

        <ImageView
        android:id="@+id/image_destaque"
        android:layout_width="299dp"
        android:layout_height="132dp"
        android:layout_margin="5dp"
        android:layout_marginBottom="25dp"
        android:contentDescription="@string/app_name"
        android:src="@drawable/ic_stub"
        />

    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="5dp"
        android:id="@+id/btn1"
        android:background="@drawable/roundedbutton"
        android:textColor="#FFF"
        android:textStyle="bold"
        android:layout_below="@+id/image_destaque"/>

    <ExpandableListView
        android:id="@+id/lista_destaque"
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:layout_below="@+id/btn1" >
    </ExpandableListView>
</RelativeLayout>


图像视图
按钮
可展开列表视图
包裹在
线性布局中
包裹在
滚动视图中

e、 x.

<RelativeLayout>
<ScrollView>
<LinearLayout>
<ImageView>
<Button>
<ExpandableListView>
</LinearLayout>
</ScrollView>
</RelativeLayout>

如果希望imageview、button和expandablelistview可滚动