You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CropCircleWithBorderTransformation when calculating the border there is a bug.
If the width and height of the picture are not equal, then the width of the outer border is set to be wider than the actual value.
Code :
val url ="https://pic.52112.com/JPG-180507/180507_295/hILItGsZAG_small.jpg"
viewBinding.ivImage.load(url) {
transformations(CropCircleWithBorderTransformation(10.dp, "#00ff00".toColorInt()))
}
The text was updated successfully, but these errors were encountered:
CropCircleWithBorderTransformation when calculating the border there is a bug.
If the width and height of the picture are not equal, then the width of the outer border is set to be wider than the actual value.
Code :
The text was updated successfully, but these errors were encountered: