title: Right align column in android table layout
body: <p>I want to draw a table in which last column should be at the right most side of the table.</p>
  
  <p>This is how the table row looks like:</p>
  
  <pre class="lang-none prettyprint-override"><code>Admin (2)New
  Network (2)New
  </code></pre>
  
  <p>And this is how it should be:</p>
  
  <pre class="lang-none prettyprint-override"><code>Admin (2)         New
  Network (2)       New
  </code></pre>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!-- row.xml --&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent" android:layout_height="45dp"
      android:gravity="center" android:background="@color/list_bg"&gt;
  
      &lt;TableLayout android:layout_width="fill_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;TableRow&gt;
  
  
  
              &lt;ImageView android:id="@+id/t1" android:layout_width="wrap_content"
                  android:layout_height="wrap_content" /&gt;
  
              &lt;TextView android:id="@+id/t2" android:typeface="normal"
                  android:singleLine="true" android:textSize="14sp" android:textStyle="normal"
                  android:layout_width="wrap_content" android:textColor="#000000"
                  android:layout_height="wrap_content" /&gt;
              &lt;TextView android:id="@+id/t10" android:typeface="normal"
                  android:singleLine="true" android:text=" " android:textSize="14sp"
                  android:textStyle="normal" android:layout_width="wrap_content"
                  android:textColor="#000000" android:layout_height="wrap_content" /&gt;
              &lt;TextView android:id="@+id/t4" android:typeface="normal"
                  android:visibility="gone" android:singleLine="true" android:text="("
                  android:textSize="14sp" android:textStyle="normal"
                  android:layout_width="wrap_content" android:textColor="#000000"
                  android:layout_height="wrap_content" /&gt;
              &lt;TextView android:id="@+id/t5" android:typeface="normal"
                  android:visibility="gone" android:singleLine="true"
                  android:textSize="14sp" android:textStyle="normal"
                  android:layout_width="wrap_content" android:textColor="#000000"
                  android:layout_height="wrap_content" /&gt;
              &lt;TextView android:id="@+id/t6" android:typeface="normal"
                  android:visibility="gone" android:singleLine="true" android:text=")"
                  android:textSize="14sp" android:textStyle="normal"
                  android:layout_width="wrap_content" android:textColor="#000000"
                  android:layout_height="wrap_content" /&gt;
              &lt;ImageView android:id="@+id/t3" android:layout_width="wrap_content"
                  android:layout_height="wrap_content" /&gt;
              &lt;TextView android:id="@+id/t7" android:typeface="normal"
                  android:visibility="visible" android:singleLine="true" android:text="New"
                  android:textSize="14sp"
                  android:textStyle="normal" android:layout_width="wrap_content"
                  android:textColor="#000000" android:layout_height="wrap_content" /&gt;
  
          &lt;/TableRow&gt;
  
      &lt;/TableLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>In this xml t7 should be right at right most side of the table, how to do this???</p>