Question: What is the best way to determine whether extra columns could be placed in a layout for a given view?
With the mix of IOS/Android devices, different resolutions, portrait/landscape, does the answer lie in the physical dimensions of the screen (as opposed to number of pixel)? What Corona API’s or approach could be used to dynamically determine?
For example, for the sake of discussion, if you had an application that you data to be displayed in columns and you had say determined that for readability for a user that (I’m making these up):
* iPhone Portrait - 1 column
* iPhone Landscape - 2 columns
* iPad Portrait - 2 columns
* iPad Landscape - 3 columns
However beyond iPad/iPhone there are all the Android devices, so assuming here one needs a formula/approach to determining at run time how many columns to try to display to the user.
Not sure if this is significant for the question but re config.lua I have been typically using the approach here: http://coronalabs.com/blog/2013/09/10/modernizing-the-config-lua/