Android: Cannot set gravity of TableLayout to Right
<p>I know there are tons of questions about this already floating around SO but I've read a bunch of them and still cannot get my 3rd column to align to the right.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;TableLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:orientation="horizontal"
  android:background="#FFFFFF"
  android:stretchColumns="2"
 &gt;
  &lt;TableRow&gt;

 &lt;ImageView 
  android:src="@drawable/blue_light" 
  android:layout_height="48px" 
  android:layout_width="48px" 
  android:padding="3dp"
  android:layout_margin="3dp"
  android:layout_column="1"/&gt;   

   &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:layout_marginLeft="10px"
   android:layout_gravity="center_vertical"
   android:layout_column="2"&gt;

   &lt;TableRow&gt;
    &lt;TextView 
     android:id="@+id/row_title"  
     android:textColor="#000000" 
     android:layout_width="wrap_content" 
      android:layout_height="wrap_content"  
      android:textStyle="bold" /&gt;
   &lt;/TableRow&gt;

   &lt;TableRow&gt;
    &lt;TextView 
     android:id="@+id/row_author"  
     android:layout_width="wrap_content"
      android:layout_height="wrap_content" 
      android:textColor="#9E9E9E"  
      android:textStyle="italic|bold"/&gt;
   &lt;/TableRow&gt;

   &lt;/TableLayout&gt;

   &lt;TableLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_column="3"
    android:layout_gravity="center_vertical|right"
  android:gravity="center_vertical|right"
   &gt;

   &lt;TableRow&gt;
    &lt;TextView 
     android:textColor="#1F9C29" 
     android:textSize="15dp" 
     android:id="@+id/row_txt1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:textStyle="bold" /&gt;
   &lt;/TableRow&gt;

   &lt;View
    android:layout_height="1dp"
    android:background="#000000"
    android:layout_marginRight="3dp"
    /&gt;

   &lt;TableRow&gt;
    &lt;TextView 
     android:textColor="#1B27D1" 
     android:id="@+id/row_txt2"
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:textStyle="bold"/&gt;
   &lt;/TableRow&gt;

   &lt;/TableLayout&gt;
  &lt;/TableRow&gt;
&lt;/TableLayout&gt;
</code></pre>

<p>What am I doing wrong?</p>
