TableLayout issue
<p>I have this table layout which has 2 rows on first two line and I have a row on the third line(customerAddress) which I want to be right aligned and take all the space. How can I achieve this. I tried <code>gravity = right</code> but no luck.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" &gt;

&lt;TableLayout
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:stretchColumns="*" &gt;

    &lt;TableRow&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/customerCode" /&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/customerName" /&gt;
    &lt;/TableRow&gt;
    &lt;TableRow&gt;

       &lt;TextView
            android:id="@+id/customerCode"
            style="@style/CustomerTextView"
            android:gravity="right" /&gt;

        &lt;TextView
            android:id="@+id/customerName"
            style="@style/CustomerTextView"
            android:gravity="right" /&gt;
    &lt;/TableRow&gt;

    &lt;TableRow&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/customerAddress" /&gt;
    &lt;/TableRow&gt;
     &lt;TableRow&gt;

        &lt;TextView
            android:id="@+id/customerAddress"
            style="@style/CustomerTextView"
            android:gravity="right" /&gt;
    &lt;/TableRow&gt;

    &lt;TableRow&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/OrganizationName" /&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/POBox" /&gt;
    &lt;/TableRow&gt;

    &lt;TableRow&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/phone" /&gt;

        &lt;TextView
            style="@style/CustomerLabelTextView"
            android:gravity="right"
            android:text="@string/fax" /&gt;
    &lt;/TableRow&gt;
&lt;/TableLayout&gt;
</code></pre>

<p></p>
