To Expandablelistview when there is an arrow icon system comes with your custom layout can not be removed as long as you set a property, as follows:
Settinglists.setgroupindicator (NULL); ~~~~~~~~~~~~~~~~~ Here is the custom arrow icon set. The empty is gone.
can also be customized (but the location is not recommended in that place) as follows:
First, customize a Expandablelistviewselector.xml file with the following details:
Java code
<?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/expandablelistviewindicatordown"/>
<item android:drawable="@drawable/expandablelistviewindicator"/>
</selector>
Add a code like this:
Settinglists.setgroupindicator (this.getresources (). getdrawable (R.layout.expandablelistviewselector));
Done
Remove the Expandablelistview arrow icon