title: Simple way to do dynamic but square layout
body: <p>I'm using a <code>GridView</code> to display a bunch of views which are essentially <code>LinearLayouts</code>. I want the <code>LinearLayouts</code> to all be square, but I also want them to be dynamically sized--that is, there are two columns and I want the <code>LinearLayouts</code> to stretch depending on the size of the screen but remain square. Is there a way to do this through the <code>xml</code> layout or do I have to set the heights and widths programmatically?</p>