ExpandableListView - hide indicator for groups with no children

Gratzi picture Gratzi · Nov 10, 2010 · Viewed 93.5k times · Source

In an ExpandableListView, is there a way to hide the group indicator for groups with no children?

Answer

Amt87 picture Amt87 · Aug 7, 2012

Try this >>>

for all items

 getExpandableListView().setGroupIndicator(null);

In xml

android:groupIndicator="@null"