title: Best way to create a UI table in Android
body: <p>I'm trying to design a table UI for my activity. I would like three columns and a fixed number of rows (so that the view fill all allotted space). Each of the cells should be clickable, and able to host standard widgets such as textview of buttons. I also want to control the scrolling (virtual grid with infinite up/down data). Pretty much something like the image below.</p>
  
  <p><img src="https://i.stack.imgur.com/nqFls.png" alt="grid with fixed number of rows"></p>
  
  <p>What is the recommended way of making a UI like this?</p>
  
  <ol>
  <li>ListView?</li>
  <li>TableLayout with dynamically added rows?</li>
  <li>Custom class derived from View?</li>
  <li>OpenGL?</li>
  </ol>
  
  <p>I tried both 1 &amp; 2, but so far have not been happy (hard to control height of each row). Any comments and code samples welcome.</p>