How to Resize the Image and preserve its aspect ratio when downloading image from the internet in Android
When loading Images from the network, we'll need to set a specific flag,adjustViewBounds to our layout
TIP 2:
To re-size the image and preserve its aspect ratio among many android devices while downloading it from the network (or) internet, just add the following attribute to the Imageview
android:adjustViewBounds="true"
Comments
Post a Comment
Please share your opinions and suggestion and do not enter any spam links in the comment box