vendredi 27 mars 2015

Image streching in list view for multiple resolutions

This question may be off topic but I am really looking for an answer.


I am using list it has image and text (40% image and 60% text). Image is loading from the server. I am using Universal Image loading lib for cache. We are sending image resolutions as 200*200 for all resolution. In some devices it looks little stretch, Is there any way that we can add image width height as per resolution.


Simply I want to download image according to device resolution. but how I will calculate image width and height for different resolutions to fit 40% of list item?


Thank You


Aucun commentaire:

Enregistrer un commentaire