DPI Scale doesn't work as expected

I’ve set the DPI for all the devices in the widget list, and in the preview everything works, but after I export and install it on an emulator or my phone, things are cut off and it doesn’t work.