如何在Android的ListView中删除分隔线? [英] How do I remove the divider from a listview on android?

查看:104
本文介绍了如何在Android的ListView中删除分隔线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个具有Listview的应用,并且列表中的项目已经具有不需要分隔符的样式.

I'm developing a app that have a Listview, and the items from list already have a style I don't need the divider.

如何设置为隐藏或从ListView中删除分隔线?

How do I set as hidden or remove the divider from the ListView?

推荐答案

您可以尝试android:divider="@null".

这篇关于如何在Android的ListView中删除分隔线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆