I am into layout design for my app to address multiple screen sizes. I referred the following documentations:
- Supporting Different Densities
- Supporting Different Screen Sizes
- Icon Design Guidelines and
- Draw 9-patch
The more I read those documents, the more I became confused and convoluted. Although this might have been discussed here, I think I, at this point, need an expert advice.
What I found is that:
-
make one set of 9-patch images.
-
make adaptable layout and let Android stretch the 9-patch image for me.
Is my understanding correct?
Well, it’s not that easy if you want to support most of the devices available; just one set of 9-patch images will not be enough, unless you use them only for background patterns.
You’ll need at least one set of 9-patch images for each density folder, and together with a well-thought layout(maybe different for large and xlarge devices), and a good use of Fragments, you can manage to develop a nice looking app on most devices 🙂