Design for Different Screen Sizes Android

后端 未结 5 1196
终归单人心
终归单人心 2021-01-16 08:35

I am developing an android app but problem is, it\'s design doesn\'t remain consistent on different devices.

I studied about it on internet but finally I am stuck on

5条回答
  •  梦谈多话
    2021-01-16 09:20

    For Android launcher icons you will need 6 sizes of PNG or JPG files. In pixels these are:

    48×48, 72×72, 96×96, 144×144, 192×192 and 512×512

    The first five are for the App and the last one for when the App is deployed to the Google Play store.

    The number of dots (pixels) per inch that an Android device’s screen holds determines how sharp the image on the screen looks. The more Dots Per Inch (DPI) the sharper the image. Android groups screen densities into several classes, medium, high, extra high, extra extra high and extra extra extra high! These are referred to as MDPI, HDPI, XHDPI, XXHDPI and XXXHDPI. There is also a low density class, LDPI, however not many new devices have a low density screen and thus LDPI is no longer important.

    MDPI is around 160 DPI

    HDPI around 240 DPI

    XHDPI around 320 DPI

    XXHDPI around 480 DPI

    XXXHDPI around 640 DPI.

    (LDPI is around 120 DPI).

    It is the screen density that determines the Android icon size used.

    Android Icon Size Table

提交回复
热议问题