I have a quiz app created however the images are different sizes. Would it make sense to use a gridview for one image or is there a way to make sure imageview is set to the same size for different images?

有帮助吗?

解决方案

You can limit the ImageView size instead of use wrap_content just write a static number for example

300dp

the image will fill the ImageView no matter how big the picture is.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top