I have these text fields which I generated dynamically. But I can\'t seem to set layout parameters for them. Please tell me what I\'m doing wrong.
I\'m able to generate
You are adding Table Row into table so use TableLayout.LayoutParams instead of LinearLayout.LayoutParams.As we use LayoutParam according to parent in which we are going to add
TableLayout.LayoutParams
LinearLayout.LayoutParams