Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我ExpandableListAdapter在我的项目中使用了自定义。如何删除此按钮?
ExpandableListAdapter
在 XML 中
android:groupIndicator="@null"
或在代码中
expListView.setGroupIndicator(null)
您是否尝试过使用这个: android:groupIndicator="@android:color/transparent" ?
我不知道您为什么要删除此按钮,但在某些情况下,我的建议可能很有用。