[工控机监控]调整图片显示

This commit is contained in:
xinfengkun
2023-03-09 10:25:30 +08:00
parent e159cfbae6
commit 07fc1d99a8

View File

@@ -155,7 +155,7 @@ public class ImageLoaderManager {
RequestOptions requestOptions = new RequestOptions()
.priority(Priority.HIGH)
.diskCacheStrategy(DiskCacheStrategy.ALL)
.centerCrop();
.centerInside();
Glide.with(context)
.load(data)