android - expandable list group indicator resize or replace top/bottom -


i use expandable list group indicator big usecase or on wrong place. if set in grouplayout padding bigger, textview in there replace groupindicator keeps in bottom in group.

i see setindicatorbounds method there can't replace them in top or bottom. tried add own selector with

expandablelist_indicator.xml:  <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item  android:state_empty="true" android:drawable="@drawable/expander_ic_minimized"> </item> <item android:state_expanded="true" android:drawable="@drawable/expander_ic_maximized"> </item> <item android:drawable="@drawable/expander_ic_minimized"> </item> </selector> 

my explist:

<expandablelistview android:id="@+id/expandable_list"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:transcriptmode="alwaysscroll"                         android:cachecolorhint="#00000000"                         android:layout_below="@+id/iv_dashboard_avatar"                         android:listselector="@android:color/transparent"                         android:groupindicator="@drawable/expandablelist_indicator"              /> 

with original android selector icons, copied android sdk platform res folder.(expander_ic_maximized.9.png , expander_ic_minimized.9.png) didn't see group indicator anymore.

so question: possible resize normal android group indicator(less size) or replace them in top/bottom?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -