Background image size for Android -


I have an image that I want to put on my activity in the background. For G1, I will use the background of 320x480, but the resolution with the Nexus 1 is almost double. Do I just keep a big image and reduce the size of small phones? I am trying to keep my package size as much as possible.

If it is a simple color or a gradient, you can share the same painting for all screen resolutions Are there.

If it is a more complex graphic, then you have to give them a different screen resolution (or density) "droble-nodpy", "drawable-HDPI" etc.).


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -