In an Android application, I set up a TableLayout with 2 rows each row with 2 columns and each cell contains a textview
I set the height of each TextView with the following code:
myTextview1.getLayoutParams().height = val
And the row height for each row changes accordingly
The point is I can't change the row height if I use the same code for table rows in this way:
myRow1.getLayoutParams().height= val
Why?