imageview match parent size doesn't fit code example Example: how to set imageview to fit the parent android:scaleType="centerCrop"