title: Using ListView or GridView dynamically based on Layout Used By Device
body: <p>I'm making an activity in my app to display a bunch of data, specifically places. There will be the place name, the distance away from the user, and an image to go with it. All this part I have got sorted. </p>
  
  <p>I want to display this information differently on different devices. On a smaller device e.g. phone I want them to be displayed in a 1 column list, image on the left, and the name and distance on the right. I already have this set up using a <code>ListView</code>.</p>
  
  <p>However, on a larger tablet I'd like to display it in a grid, with the image being the whole cell (square) and the text on top of the image.</p>
  
  <p>What would be the best approach to this. Would it be 2 layouts, one <code>ListView</code> and one <code>GridView</code>, and how will the Activity.java file detect which is present and format the data accordingly? Or could I just use a <code>GridView</code> and dynamically set the columns depending on screen size?</p>