我有一个消耗性列表视图,我删除了图标,但空间仍然是空的

如何删除空格。
XML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".DirectorActivity" >
<ExpandableListView
android:id="@+id/expandable_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:transcriptMode="alwaysScroll"
android:cacheColorHint="#00000000"
android:listSelector="@android:color/transparent"
android:layout_below="@+id/heading_textView"
android:layout_marginTop="16dp"
android:groupIndicator="@null"
android:divider="@android:color/transparent">
</ExpandableListView>
发布于 2013-07-17 14:43:47
我也遇到过这个问题,我申请了android:groupIndicator="@null",但它对我不起作用。
我认为这只是hide the Icon在那个地方,它没有删除图标。
因此,我遵循了some other example并根据我需求编辑了代码。
请尝试一次,希望它能为您工作。
https://stackoverflow.com/questions/17692514
复制相似问题