I've the following Activity:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/FiltersLayout" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="fill_parent"
>
<ScrollView android:id="@+id/FiltersScroll"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height=开发者_如何转开发"wrap_content"
android:layout_weight="1">
<ExpandableListView android:id="@+id/featureList"
android:layout_width="fill_parent" android:stretchColumns="*" android:orientation="vertical" android:layout_height="fill_parent">
</ExpandableListView>
</ScrollView>
</LinearLayout>
I need the ExpandableListView
to scratch the screen, but it shows as the following:
![Anzroiz ListView][1]
Try changing the height of the ScrollView
to fill_parent
, but really you should omit the ScrollView
entirely as a ListView
provides its own scrolling.
精彩评论