I'm developing an Android app (API 11+) and I want to support multiple screen size and densities, my project has different density folders to provide drawable resources (mdpi, hdpi, xhdpi and xxhdpi) and different layout folders with qualifiers (small, normal, large and xlarge).
From Google docs:
xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp
I think that I understand the "dp" unit. If I'm not wrong a 480x800px mdpi phone screen has 480x800dp units because in the mdpi devices 1px=1dp, so this screen should be large. A tablet with the same size and density is large too right?
How can I provide a different layout for this 2 devices? How can I differentiate them?