I'm just starting with android and could use some help.
I have a list of words that will always be between 20 and 30 words in length, and I want to display those words in columns on the screen, utilizing as much of the screen as possible. In portrait, having three columns seems to be the best size, and in landscape having five columns appears to be best. The words come from a dynamically created String array.
I am able to handle the orientation change programatically by calculating the optimal number of columns and rows then creating and adding all the LinearLayouts and TextViews, (three TextViews per layout in port, five in land) but I am curious as to whether it's possible to accomplish this using the layout-land / layout-port xml technique.