I build a aplication supputing all the diferent sizes of screans (ldpi, mdpi, hdpi, xhdpi and xxhdpi). The problem is that when I run my application on the Sony Xperia P (Sony Xperia LT22i 540 x 960 pixel - 4") the layout satay a mess. In what folder do I have to put the layout from to this device? And how to prevent to happen this mess againg with another device?

**UPDATE**

I did diferents layouts xml for diferents folders.