• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

TableRow-Merge Columns Based on Content

snowman24

Newbie
I have a table that is created dynamically where rows are added based on arraylist. Is it possible to merge cells of the table based on the content (which is a textview). If the textview value is identical to the next cell textview, is there anyway to merge the cells together? I can post the code that creates the tablerow, but wanted to see if I was wasting my time trying to do this. According to what I have seen, there should be a way, but looks like it's all done in xml file.
 
Last edited:
I mean tablelayout. I was under the impression it could be done, but looks like it merges the whole column the cells are inside, not just the cells. So, if I had info in row 1 cell 1 (column 1) and row 1 cell 2 (column 2), I don't see how to merge cell 1 and cell 2 together with out merging all the cells in the columns those cells are attached to.
 
Back
Top Bottom