Greeting,
1) How many variants does one need in order to create a layout that looks good in portrait and landscape modes on both cellphones and tablets?
a) Can I use just one variant which could be adjusted later with code to work for all resolutions? If so, what would be the best resolution and scale to use for the variant?
b) Should I use two variants (landscape and portrait) for all resolutions? If so, what would be the best resolutions and scales to use?
c) Should I use four variants (landscape/portrait, small/large resolutions)? If so, what would be the best resolutions and scales to use?
d) Or, what is the simplest way to make a layout look good on all devices, large and small, landscape and portrait?
2) How does Android know which variant to use when the orientation has changed or when the device is large or small? Can someone point me to where this is explained?
I have tried using Designer Scripts and like what it does but I really want to do all the sizing and positioning using the Abstract Designer. I find coding the visual interface to be too tedious and time consuming.
I've read a lot of documentation and tried various examples - but I'm still a little confused. Thanks for any help!
1) How many variants does one need in order to create a layout that looks good in portrait and landscape modes on both cellphones and tablets?
a) Can I use just one variant which could be adjusted later with code to work for all resolutions? If so, what would be the best resolution and scale to use for the variant?
b) Should I use two variants (landscape and portrait) for all resolutions? If so, what would be the best resolutions and scales to use?
c) Should I use four variants (landscape/portrait, small/large resolutions)? If so, what would be the best resolutions and scales to use?
d) Or, what is the simplest way to make a layout look good on all devices, large and small, landscape and portrait?
2) How does Android know which variant to use when the orientation has changed or when the device is large or small? Can someone point me to where this is explained?
I have tried using Designer Scripts and like what it does but I really want to do all the sizing and positioning using the Abstract Designer. I find coding the visual interface to be too tedious and time consuming.
I've read a lot of documentation and tried various examples - but I'm still a little confused. Thanks for any help!
Last edited: