Search code examples
androidnine-patch

How to select source density of image when using android ui utils


I am generating nine patch images using android ui utils I am not sure of what to select for the source density field. How do i know the right density to choose? Is there a way to determine this from my image dimensions? Thanks


Solution

  • It's source density, like if designer draw for mdpi (for example, screen resolution is 320x480), and give you images in this density, you need choose mdpi.

    Also i recommend you this nine patch editor.