Screen Resolution of android

后端 未结 4 412
星月不相逢
星月不相逢 2021-01-07 11:06

I am developing an android application for resolution 320x240. i want to use this same application for higher resolution is it possible or i have to design UI for every res

4条回答
  •  春和景丽
    2021-01-07 11:40

    Scale your application to be supported in different screen resolutions by following the guidelines at this link.

    http://developer.android.com/guide/practices/screens_support.html#screen-independence

    Mainly you have to use density index pixels(dp) as the unit to define size wherever you need rather than hardcoding with px

提交回复
热议问题