如何得到下面的功能与表布局机器人。由于它在图像中看到的那样,我需要两个单元格合并中的行#5 - #1列和行#6 - #1列动态,我要更换一个图像在那里。我怎样才能做到这一点?你的答案是AP preciated。
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.
使用网格布局,而不是TableLayout。您可以使用网格布局很容易合并单元格。 http://developer.android.com/reference/android/widget/GridLayout.html
Use GridLayout instead of TableLayout. You can easily merge cells using GridLayout. http://developer.android.com/reference/android/widget/GridLayout.html