Skip to content Skip to sidebar Skip to footer

Android Design Supporting Many Kinds Of Screen

I know there are plenty of materials about my question. But I'm still confused how to design android app to support difference sizes of screen. Mostly when I design web, I use per

Solution 1:

You can create different layout folders and create layouts for standard screen sizes. There is a set of six generalized densities:

ldpi (low) ~120dpi
mdpi (medium) ~160dpi
hdpi (high) ~240dpi
xhdpi (extra-high) ~320dpi
xxhdpi (extra-extra-high) ~480dpi
xxxhdpi (extra-extra-extra-high) ~640dpi

You can create images and layouts for these and use accordingly.Mention that in you manifest also:

<compatible-screens><screenandroid:screenDensity="ldpi"android:screenSize="small" /><screenandroid:screenDensity="mdpi"android:screenSize="normal" /><screenandroid:screenDensity="xhdpi"android:screenSize="large" /><screenandroid:screenDensity="xhdpi"android:screenSize="xlarge" /></compatible-screens>

Refer Supporting Multiple Screens for more details.

Post a Comment for "Android Design Supporting Many Kinds Of Screen"