In Android, you can define different resources for different phone attributes by naming res directories accordingly. I need to support various layouts for 480x800 and 480x854 . I decided that I could have one set of resources stored in the layout-hdpi-v4 directory and another in the layout-long-hdpi-v4 directory. However, both resolutions seem to believe that they are long (at least based on an emulator, which, as I understand it, may not accurately reflect the devices).
Is there any other way in which I can distinguish between two resolutions / proportions?
source share