title: How to display a two column ListView in Android?
body: <p>I have an android application that shows a grid view that shows:</p>
  
  <p>1</p>
  
  <p>2</p>
  
  <p>3</p>
  
  <p>4</p>
  
  <pre><code>GridView gridview=(GridView)findViewById(R.id.GridView_test);
  DataBaseHelper dbhelper=new DataBaseHelper(this);
  ArrayList&lt;String&gt; test=new ArrayList&lt;String&gt;(5);
  backlinksadapter.add("1");
  backlinksadapter.add("2");
  backlinksadapter.add("3");
  backlinksadapter.add("4");
  ArrayAdapter mAdapter=new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, test);
  gridview.setAdapter(mAdapter);
  </code></pre>
  
  <p>By the moment is working, but i would like to show foreach line of the grid, 2 columns with the values of a 2 dimensional array (something like the GridView in ASP.Net - as datasource -). </p>
  
  <p>I would like to show:</p>
  
  <p>1 | Person 1</p>
  
  <p>2 | Person 2</p>
  
  <p>3 | Person 3</p>
  
  <p>4 | Person 4</p>
  
  <p>Any idea?</p>