I have an imageview that has its height and width set to fill_parent with a linearlayout that has the same values set. So I suppose th
imageview
fill_parent
linearlayout
Give in the xml file of your layout android:scaleType="fitXY" P.S : this applies to when the image is set with android:src="..." rather than android:background="..." as backgrounds are set by default to stretch and fit to the View.
android:scaleType="fitXY"
android:src="..."
android:background="..."