Skip to content Skip to sidebar Skip to footer

Supporting Multiple Screens For Some Devices In Android

I read the official document about supporting multiple screens http://developer.android.com/guide/practices/screens_support.html According to that document, I should just create di

Solution 1:

This is the documentation on how to specify alternate resources.

So you could do drawable-normal-hdpi for medium screens with high dpi.

Solution 2:

you have to specify layout folder like following:-

layout-small-ldpi (240x320)  
layout-small-land-ldpi (320x240)

layout-ldpi  (240 x 400 )
layout-land-ldpi  (400 x 240 )

layout-mdpi (320 x 480 )
layout-land-mdpi (480 x 320 )

layout-large-mdpi (320 x 480 )
layout-large-land-mdpi (480 x 320)

layout-large  (600 x 1024)
layout-large-land  (1024 x 600)

layout-hdpi (480 x 800)
layout-land-hdpi (800 x 480)

layout-xlarge (800 x 1280)
layout-xlarge-land (1280 x 800)

Post a Comment for "Supporting Multiple Screens For Some Devices In Android"