Please help me understand when I should decide to identify 9 patch images. what I understood, a 9-patch image is only required when I determined the width and height of a layout with a specific size, but in fact I don't have an image of that size. let's say I set the background size to 300 * 100 in my layout definition. but I have 200 * 100, which is less than what I need. in this case, if I define 9 patch images, this will help to properly adjust without compression quality on all devices.
This is when I used 9 patches.
Now I want to understand that 9 patch images will scale at different screen resolutions, even if I defined our layout definition as wrapper content, map the parent element without an explicit value in width and height. Will the 9 patch be scaled based on screen resolution?
android android-layout nine-patch
chethan
source share