X-Team interview question

Explain how to work with UI on different devices (Dimensions, PixelRatios)