I would like to create a table with multiple columns, each containing a button. It should basically look similar to the iPhone’s or iPad’s home screen. This I know can do by placing a certain number of buttons in each table cell.
My problem is however that I want to change the number of buttons in every row when the device is flipped. In landscape mode I can fit more buttons in one row.
For example: if in portrait mode the table looks like this:
1 2 3
4 5 6
7 8 9
I would like it to look like this in landscape mode:
1 2 3 4 5
6 7 8 9
Is there any easy way to do this?
Easy or difficult based on your experience really. This is what you essentially need to do: