摘要: ListView 添加长度样式不固定的分割线 ListView可通过配置 android:dividerline android:dividerHeight 来实现分割listview中item的效果,如图: 如果想跟上图一样实现这种有设计的分割线样式的时候可以使用下面的方法,这个方法也是参照Sta 阅读全文
posted @ 2016-01-29 14:34 visuals 阅读(270) 评论(0) 推荐(0) 编辑
摘要: public class SquareLayout extends LinearLayout{ public SquareLayout(Context context) { super(context); } public SquareLayout(Context context, Attribut 阅读全文
posted @ 2016-01-29 14:00 visuals 阅读(186) 评论(0) 推荐(0) 编辑