Today, my task was to create Category Description Activity. There I had the functionality of image uploading and adding the description of category to be added by Admin. This is how it looks like.

After lot of search, I found a fabulous library Nuuneoi AdjustableImageView. This library provides AdjustableImageView and AdjustableImageButton to correct the adjustViewBounds behavior of ImageView and ImageButton when run on API Level 17 and below.
To use this, add in dependencies-
dependencies {
compile 'com.inthecheesefactory.thecheeselibrary:adjustable-imageview:1.0.1'
}
In the XML code, instead of ImageView, use this-
<com.inthecheesefactory.thecheeselibrary.widget.AdjustableImageView
android:layout_width="300dp"
android:layout_height="250dp"
android:layout_gravity="center"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
android:layout_marginRight="15dp"
android:scaleType="center"
android:adjustViewBounds="true"
android:id="@+id/cImg"/>