title: separation between rows in table layout
body: <p>I am displaying  one table layout, in that I want separation line between rows in the table.Also is it possible to have column wise separation in table layout.Please help me.</p>
  
  <p>Following is my xml table layout:</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="fill_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical"
      android:paddingBottom="6dip"
      android:paddingTop="4dip"&gt;
  
      &lt;TableLayout
          android:id="@+id/tablelayout"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:paddingRight="2dip"&gt;
  
          &lt;TableRow&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Income"&gt;&lt;/TextView&gt;
  
              &lt;TextView
                  android:layout_width="150px"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="150dp"
                  android:text="Expense"&gt;&lt;/TextView&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow android:layout_marginTop="30px"&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Household:"&gt;&lt;/TextView&gt;
  
              &lt;TextView
                  android:id="@+id/text50"
                  android:layout_width="150px"
                  android:layout_height="wrap_content"
                  android:text="Household:"&gt;&lt;/TextView&gt;
          &lt;/TableRow&gt;
  
  
          &lt;TableRow android:layout_marginTop="40px"&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_span="2"
                  android:text="Travel:"&gt;&lt;/TextView&gt;
  
              &lt;TextView
                  android:id="@+id/text51"
                  android:layout_width="150px"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="-250dp"
                  android:text="Travel"&gt;&lt;/TextView&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow android:layout_marginTop="40px"&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_span="2"
                  android:text="Education:"&gt;&lt;/TextView&gt;
  
              &lt;TextView
                  android:id="@+id/text52"
                  android:layout_width="150px"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="-250dp"
                  android:text="Education"&gt;&lt;/TextView&gt;
          &lt;/TableRow&gt;
  
      &lt;/TableLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>