title: how can i display text below listview in android?
body: <p>I have an problem to displaying text below listview.when items are more in list the below text is not appear in my emulator. how can i solve this. i have use the below code.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
     &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
         android:id="@+id/tableLayout1"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:background="@drawable/bg1"
         android:shrinkColumns="*"
         android:stretchColumns="*" &gt;
  
         &lt;TextView
             android:id="@+id/t7"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginBottom="5dp"
             android:text=""
             android:textColor="#000033"
             android:typeface="serif" /&gt;
         &lt;TableRow
             android:id="@+id/tableRow5"
             android:layout_width="match_parent"
             android:layout_height="wrap_content" &gt;
  
         &lt;TextView
             android:id="@+id/fromstation"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text=""
             android:textColor="#DC143C"
             android:layout_gravity="left"
             android:typeface="serif"
             android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
         &lt;TextView
             android:id="@+id/to"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text="To"
             android:textColor="#000000"
             android:layout_gravity="center"
             android:typeface="serif"
             android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
         &lt;TextView
             android:id="@+id/tostation"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text=""
               android:textColor="#DC143C"
               android:layout_gravity="right"
             android:typeface="serif"
             android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
         &lt;/TableRow&gt;
  
         &lt;TableRow
             android:id="@+id/tableRow1"
             android:layout_width="match_parent"
             android:layout_height="wrap_content" &gt;
  
             &lt;TextView
                 android:id="@+id/tname"
                 android:layout_width="20dp"
                 android:layout_height="wrap_content"
                 android:padding="3dip"
                 android:text="Train"
                 android:layout_gravity="left"
                 android:textColor="#9400D3"
                 android:typeface="serif"
                  &gt;
             &lt;/TextView&gt;
  
             &lt;TextView
                 android:id="@+id/arr"
                 android:layout_width="20dp"
                 android:layout_height="wrap_content"
                 android:text="Arrival"
                 android:layout_gravity="center"
                 android:textColor="#9400D3"
                 android:typeface="serif" &gt;
             &lt;/TextView&gt;
  
             &lt;TextView
                 android:id="@+id/dep"
                 android:layout_width="20dp"
                 android:layout_height="wrap_content"
                 android:text="  Departure"
                 android:textColor="#9400D3"
  
                   android:layout_gravity="right"     
                 android:typeface="serif" &gt;
             &lt;/TextView&gt;
         &lt;/TableRow&gt;
  
  
         &lt;ListView
                    android:id="@id/android:list"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:cacheColorHint="#00000000"
                    &gt;
  
         &lt;/ListView&gt;
         &lt;LinearLayout android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_marginTop="10dp"&gt;
          &lt;TextView
             android:id="@+id/enq"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
  
             android:text="*Marked services do not run on sunday."
             android:textAppearance="?android:attr/textAppearanceSmall"
             android:textColor="#800000"
             android:typeface="serif" /&gt;
  
          &lt;/LinearLayout&gt;   
  
     &lt;/TableLayout&gt;
  </code></pre>
  
  <p>can anyone tell me where i have done wrong.
  thanks in advance.</p>