title: how to print array elements in nextline on textView in android
body: <p>hello everyone i have a 2D array. I am printing the elements of this array on a text View. But my all elements are coming in one row.I want line break between elements. my code is given below and my 2D array is:</p>
  
  <pre><code>table[][]={{1,2,3,4,5,6,7,8},{8,7,6,5,4,3,2,1}}
  
  for(i=0;i&lt;8;i++)
  for(j=0;j&lt;2;j++)
  {
  text = new TextView(this);
  text.setText(""+table[j][i]);
  }
  </code></pre>
  
  <p>and i am getting output like this:</p>
  
  <pre><code>{1,8,2,7,3,6,4,5,5,4,6,3,7,2,8,1}
  </code></pre>
  
  <p>but i want output like this:</p>
  
  <pre><code>1,8
  2,7
  3,6
  4,5
  5,4
  6,3
  7,2
  8,1 
  </code></pre>
  
  <p>any help would be appreciated.</p>