Question Detail

How to change indicator Color and Size of expandableListView?

6 years ago Views 7131 Visit Post Reply

I want to change ExpandableListView indicator color in android. How can we do this in Android Studio?

Thread Reply

alex levine

- 6 years ago

if You want to change color You need to use Customize Icon for this.
try this :   drawable/indicatorcustome.xml

<selector xmlns:android="">
   <item android:drawable="@drawable/ic_up" 
         android:state_empty="true" />
   <item android:drawable="@drawable/ic_down" 
         android:state_expanded="true" />

<ExpandableListView android:id="@+id/android:list"
    android:groupIndicator="@drawable/indicatorcustome" />