Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to merge row in one cell in Table Layout in android, dynamically?

how to get below functionality in android with Table Layout. As it is seen in the image, I need to merge the two cells in row #5 - column #1 and row#6 - column#1 dynamically and I have to replace one image over there. How can I achieve this? Your answers are appreciated.

merge two cell

like image 536
Hitesh Dhamshaniya Avatar asked Jan 10 '13 11:01

Hitesh Dhamshaniya


1 Answers

Use GridLayout instead of TableLayout. You can easily merge cells using GridLayout. http://developer.android.com/reference/android/widget/GridLayout.html

like image 133
Suhas K Avatar answered Sep 17 '22 08:09

Suhas K