How to set a EditText in a certain column of a TableLayout?
- by Nick
I have a TableLayout on one Android Activity UI. It has two columns.
Now I need to add a new row, and put an EditText box in second column of that new row. And also, I want that EditText full fill the whole cell. I have some code like this:
TableRow tr = new TableRow(context);
EditText et = new EditText(context);
et.SetMaxLines(4);…