If you’re using an ImageView and vertical gaps appear – as if the container had top and bottom padding – you can use the following line to remove the gapping: