问题
I use Glide. Here snippet:
Glide.with(context).load(referenceUrl).into(holder.imageViewPhoto);
OK. It's work fine. But I need image to show with radius corners only on TOP.
Something like this:
Is it possible by Glide?
回答1:
You can use :
requestOptions.centerInside().transform(new CenterInside(), new GranularRoundedCorners(topLeft, topRight, bottomRight, bottomLeft))
来源:https://stackoverflow.com/questions/47350973/glide-show-image-with-radius-corners-only-on-top