ExpandableListView的小图标有个状态
1. [代码][Java]代码
expandableView.setGroupIndicator(this.getResources().getDrawable(R.drawable.ic));
2. [代码]res/drawable/ic.xml
<?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/icon" />
<item
android:drawable="@drawable/grid_view_01" />
</selector>