title: Centering ImageView inside TableRow
body: <p>I have problem with centering image inside TableLayout (TableRow). ImageView is always on left side and I need center him.</p>
  
  <p>Here is XML:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="#fff2d8"&gt;
  
      &lt;TableLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
  
          &lt;TableRow
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              &gt;
              &lt;ImageView
                  android:layout_width="fill_parent"
                  android:layout_height="fill_parent"
                  android:src="@drawable/logo"
                  android:id="@+id/imageView"
              /&gt;
          &lt;/TableRow&gt;
      &lt;/TableLayout&gt;
  
      &lt;TableLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_margin="10dp"
          android:layout_weight="1"&gt;
      &lt;TableRow
            .
            .
  </code></pre>
  
  <p>There is layout image: <a href="http://d.pr/i/uQAB" rel="nofollow">screenshot</a></p>
  
  <p>How can I do this ? Thanks a lot for help.</p>
  
  <p>Regards, Petr</p>