可能重复:
How to give empty space between rows of listview?
How to give empty space between pulltorefresh -listview items or rows?列表视图行定制
在我的应用我有自定义的ListView的要求。我想要在行之间留出空隙,以便它看起来像一些行块。
我试图通过在我的行XML中保留填充,但没有找到解决方案。
我正在使用pullToRefresh
ListView api刷新列表。