title: How to create a 10x10 grid in Android?
body: <p>I am creating a small Battleship game and for the Android UI I was hoping to create a 10x10 grid of image buttons or something (anything easy). 
  I was following the tutorial provided at <a href="http://developer.android.com/guide/topics/ui/layout/gridview.html" rel="nofollow noreferrer">this link</a></p>
  
  <p>My problem is that I can't get the images to display in a proper 10x10 format. Using the GridView, I set the num_columns to "10" in the XML but there is no such attribute for the number of rows. 
  As phone sizes differ, is there a way to have a 10x10 grid auto fit any screen?</p>
  
  <p>By following the steps in the above link I can display 100 clickable images but my problem is with the formatting. Here's a screenshot of said result:
  <img src="https://i.stack.imgur.com/yN1jo.png" alt="enter image description here"></p>
  
  <p>I've tried changing values in XML to scale the images down but cannot figure out how to. Apologies for lack of code snippets but I really haven't altered much from the sample given in the above link other than the vertical and horizontal spacing.</p>
  
  <p>Would appreciate any enlightenment, even if it's just to say I am I going about this the wrong way completely. </p>