How to put a Lottie or an image in the background without it being deformed?

I would like to know how I can put a solid color background and an animated Lottie on top; that even if it has other transparent and visible Layouts, the Lottie can still be seen in its position. I would also like to know how I can add an image to the background of the Screen, that covers the entire screen and that, even if the photo is horizontal or vertical, it does not deform by expanding or contracting.