由网友(一把温柔刀)分享简介:我有以下活动:我有以下活动:
<?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>
我需要的 ExpandableListView
划伤屏幕,但它显示如下:
I need the ExpandableListView
to scratch the screen, but it shows as the following:
![Anzroiz的ListView] [1]
![Anzroiz ListView][1]
推荐答案
试着改变的高度滚动型
到 FILL_PARENT
,但真的是你应该省略滚动型
完全为的ListView
提供了自己的滚动。
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.
相关推荐
最新文章