【Android UI】获取ListView默认分割线

来源:互联网 发布:黑客帝国 知乎 编辑:程序博客网 时间:2024/04/30 00:21
int[] ATTRS = new int[]{ android.R.attr.listDivider };TypedArray a = context.obtainStyledAttributes(ATTRS);Drawable mDivider = a.getDrawable(0);

0 0
原创粉丝点击