【发布时间】:2026-01-10 03:15:01
【问题描述】:
【问题讨论】:
-
从您自己的布局文件中删除。
标签: android expandablelistview
【问题讨论】:
标签: android expandablelistview
您可以像这样以编程方式删除;
getExpandableListView().setGroupIndicator(null);
通过使用xml;
android:groupIndicator="@null"
【讨论】:
android:groupIndicator="@null"
在你的 xml 中使用这个属性
【讨论】:
以编程方式尝试此操作
ExpandableListView yourListView = (ExpandableListView)findViewById(R.id.yourListView );
yourListView .setGroupIndicator(null);
yourListView .setChildIndicator(null);
并尝试更改ExpandableListView's 属性android:groupIndicator="@null"
【讨论】: