【发布时间】:2017-11-17 12:45:31
【问题描述】:
我使用 Glide。这里sn-p:
Glide.with(context).load(referenceUrl).into(holder.imageViewPhoto);
好的。它工作正常。 但我需要仅在 TOP 上显示半径角的图像。
类似这样的:
Glide 可以吗?
【问题讨论】:
标签: android android-glide
我使用 Glide。这里sn-p:
Glide.with(context).load(referenceUrl).into(holder.imageViewPhoto);
好的。它工作正常。 但我需要仅在 TOP 上显示半径角的图像。
类似这样的:
Glide 可以吗?
【问题讨论】:
标签: android android-glide
你可以使用:
requestOptions.centerInside().transform(new CenterInside(), new GranularRoundedCorners(topLeft, topRight, bottomRight, bottomLeft))
【讨论】: