I learned a lot about the best ways to design layouts for different screen sizes, screen densities, and orientations, and I'm getting more and more confused.
1. Design density and screen size
I read this link
Now that you are designing for gingerbread, what to consider. The layouts in each folder say LDPI, HDPI and MDPI. But this increases the size of the entire application.
Now I stopped considering LDPI. But now we also have XHDPI and XXHDPI. So, how do we plan to design for all pages and still keep the size reasonable?
And what size, density or screen resolution should be set for preferences?
FOr images 9-patch imagescan be used. What is the best way to create them?
2.Landscape vs Potrait.
Now in this mock equation, if we include different layouts for screen orientation, the application becomes cumbersome and the work is tedious.
Creating smaller xmls and including them is one good solutionbut even then, given all the different types, it still becomes tedious. Especially for Android 4 and above, each fragment has a different layout,
My question is: what is the best and most effective way to develop layouts, given all of the above.