I want add two textview with orientation vertical(One below other) in a table row without using xml that is by programatically. Can anyone suggest me how to do this? Is there any other way than this? Already there are many textviews in a tablerow(horizontally).
I want add two textview with orientation vertical(One below other) in a table row
Share
Put a
LinearLayoutin theTableRowcell. Put the twoTextViewwidgets in theLinearLayout. Use Java constructors to create theLinearLayoutand theTextViewwidgets. UseaddView()to add theTextViewwidgets to theLinearLayout.