How to fill in the space in the imageView for fitStart ScaleType in constraintLayout?

147 Views Asked by At

I am trying to cover the imageView with the image without hampering the image ratio. I tried various scaleTypes as mentioned in : https://thoughtbot.com/blog/android-imageview-scaletype-a-visual-guide but each of them has a space left if we don't want to disturb the ratio, I also tried. How should I keep the ratio and at the same time fill in the imageView?

1

There are 1 best solutions below

0
Jaimil Patel On

Please try with this android:scaleType="fitXY" into ImageView Tag...