Kermia
Kermia

Reputation: 4221

How can I remove button of ExpandableListView?

I've used a custom ExpandableListAdapter in my project. How can I remove this button? enter image description here

Upvotes: 8

Views: 2853

Answers (2)

Kenneth
Kenneth

Reputation: 94

Did you try to use this: android:groupIndicator="@android:color/transparent" ?

I don't know why you want to remove this button, but for some cases my advise can be useful.

Upvotes: 2

207
207

Reputation: 3804

In XML

android:groupIndicator="@null"

or in code

expListView.setGroupIndicator(null)

Upvotes: 23

Related Questions