JavaNoober / BackgroundLibrary

A framework for directly generating shape through Tags, no need to write shape.xml again(通过标签直接生成shape,无需再写shape.xml)
Apache License 2.0
3.86k stars 469 forks source link

代码设置白色的时候没有效果 #45

Closed 15922660642 closed 5 years ago

15922660642 commented 5 years ago

Drawable drawable = new DrawableCreator.Builder().setCornersRadius(ConvertUtils.dp2px(context.getResources().getDimension(R.dimen.size_level2))) .setSolidColor(Color.parseColor("#FFFFFF")) .setStrokeColor(Color.parseColor("#FFFFFF")) .setStrokeWidth(ConvertUtils.dp2px(2)) .build();

JavaNoober commented 5 years ago

@15922660642 更新一下1.3.3,已解决