Automatically scale image to fit all Android screen types

If you're new to Android development, you will learn that, for each image resource you want to use (for a button for example), you need to provide it scaled to fit all screen resolution. A little bit complicated in fact.

So, take this online tool. It will ask your to which screen your image fits and then adapt it to all other.

http://android-ui-utils.googlecode.com/hg/asset-studio/dist/nine-patches.html

I hope Google with simplify the process and let the IDE do that behind the scene.