I have a vertical LinearLayout containing an ImageView and a few other layouts and views.
I had a simular issue and resolved it using android:adjustViewBounds="true" on the ImageView.
android:adjustViewBounds="true"