expandablelistview - Android expandable listview child divider -


i have expandable listview child view, when ever click on group view expand , display child view, have hide divider between parent , child expanded group make visible when collapse, using default divider, how can this.?

here perfect solution.

to hide child divider set color transparent #00000000

define transparent in color.xml file

<color name="transparent">#00000000</color> 

and set child divider

listview.setchilddivider(getresources().getdrawable(r.color.transparent)) 

or in layout xml file

<expandablelistview  android:layout_width="fill_parent" android:layout_height="fill_parent"  android:childdivider="#00000000"/> 

here output :

enter image description here

for more detail visit here.

android: hide child dividers in expandablelistview


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -