在做项目的过程中,遇到的问题是:item与ListView之间的margin问题,一直是失效的。解决办法是:
设置item与ListView之间的margin最好在item的xml中搞定,且最好在item中的最上层多布局一个透明的(默认是)xxxLayout,这个
layout看似无用,其实是规避了item与ListView之间的问题。
同样问题,参考:http://my.oschina.net/xesam/blog/155542
http://blog.youkuaiyun.com/ethan_xue/article/details/9852209