现在我想使用ExpandableListView来显示我的数据,并且我想更改左侧的图标或让它消失。有人可以给我一个建议。如何将ExpandableListview左图标更改为其他人(android ExpandableListView)
thx。
现在我想使用ExpandableListView来显示我的数据,并且我想更改左侧的图标或让它消失。有人可以给我一个建议。如何将ExpandableListview左图标更改为其他人(android ExpandableListView)
thx。
setGroupIndicator(null)
应该让它消失。
在此视频中,您可以预先找到如何更改图标(在可展开列表中)。
其他选项删除从.XML布局的默认图标。
<ExpandableListView
...
...
android:groupIndicator="@null" />
或
getExpandableListView().setGroupIndicator(null);