RoundedCornersTransformation has some problem to handle a translucent picture
RomanticHua opened this issue · 0 comments
RomanticHua commented
this is my code
int dp10 = DisplayUtils.dp2px(10); RoundedCornersTransformation transformation = new RoundedCornersTransformation(dp10, 0, RoundedCornersTransformation.CornerType.TOP_RIGHT); Glide.with(this).load(R.mipmap.ic_pic_close) .apply(RequestOptions.bitmapTransform(transformation)) .into(iv);
my glide version is 4.9.0 , and my glide_transformations version is 4.1.0
my original picture is translucent.
i don't know why top-right corner has a shadow.