title: Icon menu with TableView (Google+ like)
body: <p>I am working on icon based main menu for my Android application (see attached image - Google+). The obvious layout for this is a TableLayout.</p>
  
  <p><img src="https://i.stack.imgur.com/Veksj.png" alt="Google+ Android App"></p>
  
  <p>However, I have no idea and could not find information on how to center the table itself and the icons inside. The code I came up with is as follows (and resulting image is below the code): </p>
  
  <pre><code>&lt;TableLayout android:layout_width="fill_parent" android:id="@+id/tableLayout1" android:layout_height="fill_parent" android:stretchColumns="1" android:padding="20dp"&gt;
      &lt;TableRow android:id="@+id/tableRow1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="20dp"  &gt;
          &lt;Button android:text="Button" android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center"&gt;&lt;/Button&gt;
          &lt;Button android:text="Button" android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center"&gt;&lt;/Button&gt;
      &lt;/TableRow&gt;
      &lt;TableRow android:id="@+id/tableRow2" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="20dp" &gt;
          &lt;Button android:text="Button" android:id="@+id/button3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" &gt;&lt;/Button&gt;
          &lt;Button android:text="Button" android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center"&gt;&lt;/Button&gt;
      &lt;/TableRow&gt;
  &lt;/TableLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ll4we.png" alt="TableLayout"></p>
  
  <p>I will appreciate any tips and ideas. </p>