Assuming I have a gallery, and each images in it, has varying dimensions. The ImagePreview (an ImageView object) which has the following config.
What I want is for this ImageView to auto resize its height, but the width is the maximum width of the screen, so the aspect ratio is correct. Problem is, currently the images stretches either from height or width.
Thanks in advance.