/**
* new RoundedCorners(20)中的20代表corner值
* 我是用的glide版本如下:
* implementation 'com.github.bumptech.glide:glide:4.7.1'
*/
Glide.with(getApplicationContext())
.load(urlImg)
.apply(RequestOptions.bitmapTransform(new RoundedCorners(20)))
.into(imageView);
new RoundedCorners(20)中的20代表corner值
我是用的glide版本如下:
implementation 'com.github.bumptech.glide:glide:4.7.1'