Add table row dynamically in Android?
<p>I need to add table row by using Java code only (not XML design).</p>

<p>In that table row I have to add two textview fields. I use the code below.</p>

<pre><code> TableRow tblrow=new TableRow(this);
 tblrow.addView(Textview1);
 tblrow.addView(Textview2);
</code></pre>

<p>But it only displays Textview1. How to view both? </p>

<p>I am new to Android.</p>
