Hide divider without hiding childDivider on ExpandableListView
- by thomaus
I can't find a way to hide dividers on an ExpandableListView without hiding the child dividers too.
Here is my code.
<ExpandableListView
android:id="@+id/activities_list"
android:background="@android:color/transparent"
android:fadingEdge="none"
android:groupIndicator="@android:color/transparent"
android:divider="@android:color/transparent"
android:childDivider="@drawable/list_divider"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
With this code, I get no dividers on groups but no child dividers neither. If I set android:divider to "@drawable/list_divider" I get both group and child dividers.
Thanks in advance!