how to set imageview to fit the parent code example Example: how to set imageview to fit the parent android:scaleType="centerCrop"