我正在使用Glide frame加载一张图片,我想设置它的高度和宽度,我知道我想要的宽度是多少,但是我如何设置它的高度。我尝试的是blow,但我得到了一个OOM错误。等待帮助,谢谢。

发布于 2017-04-26 17:26:53
如果您想要更改大小
Glide
.with(context)
.load(UsageExampleListViewAdapter.eatFoodyImages[0])
.override(600, 200) // resizes the image to these dimensions (in pixel). does not respect aspect ratio
.into(imageViewResize);https://stackoverflow.com/questions/43630004
复制相似问题