1、在布局文件中进行设置groupIndicator
<ExpandableListView
android:id="@+id/expandable"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff"
<span style="color:#ff0000;">android:groupIndicator="@drawable/listdown"</span>
android:cacheColorHint="#FFFFFF"
android:listSelector="#FFFFFF">
</ExpandableListView>
2、在drawable文件夹下配置下拉选项图标:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_expanded="true" android:drawable="@drawable/open"/>
<item android:drawable="@drawable/close"/>
</selector>
学习文档地址:http://blog.csdn.net/heng615975867/article/details/11465393
http://blog.csdn.net/dawanganban/article/details/11727051?utm_source=tuicool