2014年8月14日

Android设置ListView分隔线边距

摘要: Use 'inset'.....(list_divider.xml) and in your list view add like this...you can set the inset value as desired...via:http://stackoverflow.com... 阅读全文

posted @ 2014-08-14 19:48 veins 阅读(818) 评论(0) 推荐(0) 编辑

declare-styleable:自定义控件的属性

摘要: 在使用过程中,1 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView);2 mPreferredHeight = a.getDimensionPixelSize(3 R.s... 阅读全文

posted @ 2014-08-14 10:28 veins 阅读(319) 评论(0) 推荐(0) 编辑

导航