This is a bit hard to explain, so I'll try with an example.
Let's say I've got a 3:2 image, that it'd like in one of my applications. I'd like the width of the ImageView to match its parent (match_parent), and I'd like the height to scale according to the aspect ratio of the image and the width of the image.
How is that possible in Android? I'd really like to know if there's a better way than creating pre-defined sizes for all kinds of different screen resizes.
Another scenario could be a grid view with lots of items - it'd be great if I could just tell Android how many items it should show in each row and what aspect ratio these items should have. It'd make things so much easier.