Android: Hide child dividers in ExpandableListView

前端 未结 6 1052
轻奢々
轻奢々 2020-12-24 11:25

I need to completely remove dividers from ExpandableListView. As for parent items it\'s a setDividerHeight method where I can pass a zero value. But there\'s no similar meth

6条回答
  •  余生分开走
    2020-12-24 11:49

    instead of writing lengthy code use property ExpandableListView. It will work :-

    android:childDivider="@android:color/transparent" 
    

提交回复
热议问题