Let’s say you want to make an ImageView take the maximum size it can on the screen while preserving aspect ratio.

First thought would just be to set the ImageView’s width and height to match_parent right? 453 more words