I have an ImageView that is defined in the following way:
You can change scale type to fitXY via call to
imageView.setScaleType(ScaleType.FIT_XY);