删除 android ExpandedListView 的底部分隔线
因此,我尝试从 ExpandableListView 的每组内的列表视图中删除顶部和底部(或页眉和页脚,如果您愿意的话)分隔线。我看到这个链接(删除 android ListView 的底部分隔符)但这似乎不适用于 ExpandableListView。有谁有办法在代码或 XML 标记中做到这一点吗?我可以将它们全部禁用并在项目布局中执行此操作,但由于我与其他列表共享该列表,所以我真的不想走这条路,除非我也有。
我的目标是 Honeycomb (3.1)。
So I am trying to remove the top and bottom (or header and footer if you will) dividers from the listsviews within each group of a ExpandableListView. I saw this link (Remove the bottom divider of an android ListView) but that does not seem to work with the ExpandableListView. Does anyone have a way to do this within code or XML markup? I can disable them all together and do it with in the item layout, but since I share that with nother list I do not really want to go that route unless I have too.
I am targeting Honeycomb (3.1).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过将
android:childDivider
xml 属性设置为 0px?Have you tried setting the
android:childDivider
xml attribute to 0px?