As above, How do i put 2 views inside one cell in a tablerow
?
I created a Table Layout and by code i am adding rows.
Below is my code,:
You would need to put them in some sort of container, such as a LinearLayout
or RelativeLayout
. There can only be one View
per cell, but if that View
is a container, then that one View
can be actually made up of several.
Bear in mind, though, that phone screens are tiny. Having containers nested inside a TableLayout
may be difficult to use on, say, a QVGA screen.