title: How to make a 4x4 grid of imagebuttons in android?
body: <p>I've spent a few weeks looking around for how to do this, and have come across things like <a href="https://stackoverflow.com/questions/14808997/gridview-with-layout-imageview-imagebutton-for-every-value">this</a> and <a href="http://www.coderzheaven.com/2012/02/29/custom-gridview-in-android-a-simple-example/" rel="nofollow noreferrer">this</a>, but it seems a couple years old/ I'm having trouble understanding how to apply it to what I need.</p>
  
  <p>All I want is to have my imagebuttons in a 4x4 grid on the screen and each button to start a similar activity but with different data. (its a flash-card type of thing, but each card will have different text). It seems like this should be really simple, but with this being my first android app, and my first exposure to xml and java directly, I feel like I'm getting lost.</p>
  
  <p>What is a good way to implement this? I'm not particularly attached to doing a gridView, and am open to anything that works. </p>
  
  <p>Kinda Like this:</p>
  
  <p><a href="https://i.stack.imgur.com/S7yH4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S7yH4.jpg" alt="enter image description here"></a></p>