When should I use 9 patch image in android
<p>Please help me to understand on when i have to make decision to define 9 patch image. what i have understood is, 9-patch image is require only when i have defined my layout width and height with definite size but actually i don't have image of that size. let's say, i have set background size as 300*100 in my layout definition. but image i have 200*100, which is lesser size then what i need. in this case if i do define 9 patch image, will help to fit properly without compressing quality in all devices. </p>

<p>This where i used to 9 patch. </p>

<p>Now, what i want to understand is, does 9 patch image will scales on different screen resolution even if i have defined our layout definition as wrap content, match parent with no explicit value on width and height. does 9-patch will scale based on screen resolution?  </p>