. . . "I made this property in my manifest and my resources are organised in 4 folders, but my problem is when you have 2 devices having the same density in dpi ( so android will use the layout and the resources in the mdpi folder and mdpi xml file) but 2 different screen sizes, how will the same xml layout and same resources fit these 2 devices?" .