title: Setting width and height of ImageView using Aspect Ratio of the original image like whatsapp
body: <p>I have a listview of the images of different sizes. Images are loaded using glide library.</p>
  
  <p>Currently I have set the height and width of the imageview as wrap_content to get the original feel of the image, but it's not behaving properly.</p>
  
  <p>Therefore I want to set imageview width and height using aspect ratio.</p>
  
  <p>I have used different scaleType, but not getting desired result.</p>
  
  <p>Any help is appreciated </p>