RoundImageView
RoundImageView copied to clipboard
It‘s just a test demo, don't use the library in your project, and it will no longer update. The Glide and glide-transformations is a good choice.
Showing this errors after adding this library to my project Error:(487) Attribute "borderWidth" already defined with incompatible format. Error:(261) Original attribute defined here. Error:(487) Attribute "borderWidth" already defined with incompatible...
图片四个圆角不起作用
Error:(130) Attribute "borderWidth" already defined with incompatible format.
AbsRoundImageView#drawImage()中应该是这样 `Canvas drawCanvas = new Canvas(bitmap);` `drawable.setBounds(0, 0, getWidth(), getHeight());` `drawable.draw(drawCanvas);` drawCanvas.getWidth()改为getWidth(), drawCanvas.getHeight()改为getHeight() 使用Xfermode时,尽量禁用硬件加速和使用离屏绘制