Ale*_*lex 6 android android-glide
我使用Glide。以下代码段:
Glide.with(context).load(referenceUrl).into(holder.imageViewPhoto);
Run Code Online (Sandbox Code Playgroud)
好。很好 但是我需要仅在TOP上显示带有圆角的图像。
像这样:
Glide有可能吗?
小智 20
您可以使用 :
requestOptions.centerInside().transform(new CenterInside(), new GranularRoundedCorners(topLeft, topRight, bottomRight, bottomLeft))
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2348 次 |
| 最近记录: |