i want to equally spaced four images using constraint layout...i have used guidelines but it is giving me a lot of space between the images and right corner images are going
Remove guideline, you can set this view giving height ratio and fit the view in with like this,
It will give the desired result in all devices