views:

32

answers:

0

Hello.

I have the following tablelayout:

<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:stretchColumns="1">
    <TableRow>
        <TextView  
            android:layout_width="fill_parent" 
            android:layout_height="wrap_content" 
            android:text="@string/hello"
            android:gravity="right"
            android:layout_marginBottom="50px"
            />
    </TableRow>
    <TableRow>
        <TextView  
            android:layout_width="fill_parent" 
            android:layout_height="wrap_content" 
            android:text="Down"
            android:gravity="right"
            />
    </TableRow>
</TableLayout>

I'm trying to make the text ends on the right corner of the screen, now it lefts some space between it ends and the right border of the screen.

How can I do that? I've tried to use stretchColumns but it doesn't work.

Thanks.