int[] ATTRS = new int[]{ android.R.attr.listDivider };
TypedArray a = context.obtainStyledAttributes(ATTRS);
Drawable mDivider = a.getDrawable(0);
【Android UI】获取ListView默认分割线
最新推荐文章于 2021-07-26 21:42:48 发布
int[] ATTRS = new int[]{ android.R.attr.listDivider };
TypedArray a = context.obtainStyledAttributes(ATTRS);
Drawable mDivider = a.getDrawable(0);