سؤال

I'm creating a game and I need to give the artist the PIXEL SIZE of the background images so he can draw them at photoshop/flash.

I want to support most mobiles and tablets.

Whats the sizes of background pics i need? and to what folder?

PLEASE(!) dont refer me to http://developer.android.com/guide/practices/screens_support.html It has way to much information and i cant find the answer there.

I just need the image sizes of backgrounds (ALL SCREEN) in pixels..

thanks

هل كانت مفيدة؟

المحلول

Table Comparison

Here is a table of typical resolutions. However, a best practice is to not target individual pixel densities, as there are a gazillion of Android devices in the wild, and all have different resolutions. So no matter how many background images you produce/include in your app, there will always be devices where the image looks bad/distorted. What you can do is choose a background color (or repeating texture) that fills the edges of the screen, and have a centered image in the middle that is scaled by the Android system according to the screen resolution. That way, you'll always have a crisp, "full screen" image, no matter what resolution the device has.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top