androidandroid-layoutandroid-resourcesandroid-resolution

Splash Screen Image in android


Is it necessary to resize images of the splash screen for different screen size or its ok to keep one image with the highest required resolution and add it to the drawable folder and use it as it is.

Also I have the same doubt for the clipArts that I am showing in my app. These clip arts are almost 3/4th of the screen size. Do i need to use one highest required resolution image. OR different sized images.

Please help!

Thanks in advance.


Solution

  • You can maintain different resolutions for different devices.

    You want an image that will fill the entire screen? There are over 50 supported android phones, each with a different resolution. You can't expect to create an image of the exact size of each phone. Instead, you'll probably need to come up with a few different versions and then allow it to stretch to fill the full screen.

    hdpi, ldpi, mdpi refers the density of pixels on the screen, not the screen size. Thus, one mdpi screen might be 320x480 while another might be 480x854.

    Supporting multiple screens has lots of good information dealing with the different screen sizes and densities. Icon design has specific suggestions for pixels sizes for different icons at the different screen densities.