I want to have a Tablelayout with following properties,

1.I want to change background color of column  . Now if i am setting background for a TextView it is wraping the content and putting that color not the entire column.I want different color for my two columns.
2. change  space between two columns (probably border).
 Anybody have done such thing please help me .                Thanks

&lt;TableLayout

    android:layout_gravity="center"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="20dip"
    android:layout_margin="2dip"
    android:orientation="vertical" &gt;

    &lt;TableRow
        android:padding="3dip"
        android:id="@+id/tableRow1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dip"&gt;

        &lt;TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="right"
            android:text="@string/NameLabel"
            android:textColor="@color/black"
            android:textSize="20sp"
            android:background="#1DA43F"/&gt;

        &lt;TextView
            android:layout_marginLeft="5dip"
            android:id="@+id/NameText"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:textAlignment="center"
            android:layout_gravity="left"
            android:text="@string/NameLabel"
            android:background="@color/DarkRed"
            android:textSize="20sp"/&gt;
              &lt;/TableRow&gt;&lt;/TableLayout&gt;



Question: What are the implications of Emmet's autonomous movement?
Answer: The way I took it as that both universes exist side by side (and not subservient to each other) and incidents in one universe affect the other. The causality traffic might seem a bit heavy sided towards Finn's universe being the dominant one, but on closer look you see that this isn't completely true. The Man Upstairs' LEGO policies have certainly shaped Emmet's universe greatly. But Emmet, being Finn's chosen one, has reversed the flow of effects. Not only was he able to cross between his world to Finn's (and back again), but his reformation of President Business has also somehow triggered The Man Upstairs to look differently at his hobby.

In short, Emmet's world is not a fantasy or part of Finn's world, but a distinct one that has a border with Finn's world where cause and effect can cross.