I have a GridLayout and inside it someTextView. I have used android:layout_column in xml and it is working. Now my question is that how can we achieve this through java coding. I have seen some examples but they are like as
tv.setLayoutParams(new TableRow.LayoutParams(3));
What Should I do for GridLayout?
I can’t say it is that method but it is substitute and giving what I want .
I have set
TextViewin 4thcolumnand 1strowby this code.Waiting if any other answer is available.