N. Nasim
N. Nasim

Reputation: 1

I need help with android ROWSPAN and LIStACTIVITY within a Cell of Table Layout

I need to span multiple rows at the left most column for a particular layout. in 1 column i want text to be written verticdally and it spans atleast 4 to 5 rows with the same text.

Kindly suggest relevant sml or java code. Nermeen Nasim

Upvotes: 0

Views: 2655

Answers (2)

Michelh91
Michelh91

Reputation: 692

I would try to use GridLayout instead, you can tell the views the properties: android:layout_rowSpan and android:layout_columnSpan. Worked for me.

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1007296

There is no "rowspan" concept with TableLayout. You will need to design your UI using other containers in addition to, or perhaps instead of, TableLayout.

Upvotes: 1

Related Questions