可扩展列表视图android,设置自定义绘图
好的,我这里有一个简单的问题。 如何使用其他drawables更改可扩展listview上的组箭头? 你知道,我要用+和-作为我的可扩展组列表 谢谢请查看更多对您有帮助的信息可扩展列表视图android,设置自定义绘图,android,expandablelistview,Android,Expandablelistview,好的,我这里有一个简单的问题。 如何使用其他drawables更改可扩展listview上的组箭头? 你知道,我要用+和-作为我的可扩展组列表 谢谢请查看更多对您有帮助的信息 或 group_indicator.xml <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_empty="true" android:drawable="@d
或
group_indicator.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_empty="true" android:drawable="@drawable/arrowright"></item>
<item android:state_expanded="true" android:drawable="@drawable/arrowdown"></item>
<item android:drawable="@drawable/arrowright"></item>
</selector>
“android:groupindicator”应为“android:groupindicator”
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_empty="true" android:drawable="@drawable/arrowright"></item>
<item android:state_expanded="true" android:drawable="@drawable/arrowdown"></item>
<item android:drawable="@drawable/arrowright"></item>
</selector>