SyntaxFix
Write A Post
Hire A Developer
Questions
I just set this property and now Android OS is taking care of every thing.
android:adjustViewBounds="true"
Use this in your layout.xml where you have planted your ImageView :D