I am trying to build a really simple UI with CodeName One. I want a rectangular screen (to display image) and a button below it. I can't find anything like a panel for the rectangular screen, so I just put a label.
The hierarchy is shown below:
- Container (TableLayout, 3 rows and 1 column)
The components inside the container are: container:
- Label (row=0, column=0, vertical span = 2)
- Button (row=2,column=0, vertical span=1)
Since vertical span of Label is 2, should not it occupy two rows? However, its visible height is same as 1 row. What is wrong?
What is the equivalent for panel (to show images) in this API? Is there a good tutorial for TableLayout managers? I am familiar with JGoodies, can I use JGoodies with this API?