title: EditText in loop problem
body: <p>In my code when I create the EditText boxes I set them to accept numbers only, but this only applies to the first column of the EditText boxes.  The following columns then won't accept anything to be entered in them.  What is causing this?</p>
  
  <p>My code:</p>
  
  <pre><code>   for(int i = 0; i &lt; MatrixMultiply.h1; i++){
         columnEditTexts = new ArrayList&lt;EditText&gt;();
         TableLayout table = (TableLayout)findViewById(R.id.myTableLayout);
         TableRow row = new TableRow(this);
         EditText column;
         for(int j = 0; j &lt; MatrixMultiply.w1; j++){
             column = new EditText(this);
             column.setInputType(InputType.TYPE_CLASS_NUMBER);
             column.setId(i);
             row.addView(column);
             columnEditTexts.add(column);
         }
         table.addView(row);
         arrayOfEditTexts.add(columnEditTexts);
     }
  </code></pre>