Gridview layout in android
===

I want to display a gridview in my application.My gridview should look like as a table in database(how many columns and how many rows).Should resemble like database.But i am having some collapsed format not looking nice.Please help me.

My main.xml:

 

      <GridView xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/gridview" android:layout_width="fill_parent"
            android:layout_height="fill_parent" 
             android:numColumns="5"
            android:stretchMode="columnWidth"
            android:layout_below="@+id/text1view" 
                         android:gravity="center"
                         android:horizontalSpacing="10dip"
                                    />
     
My Layout file is:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
         xmlns:android="http://schemas.android.com/apk/res/android"
         android:paddingTop="4dip"
         android:paddingBottom="6dip"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:orientation="horizontal">           
           
        
        
         <TextView android:id="@+id/text1"		
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"		
    		/> 
    		
         
         
         
         <TextView android:id="@+id/text3"			
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"/>
         
       
         
           <TextView android:id="@+id/text5"			
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"/>
           
           
    		
          
            <TextView android:id="@+id/text7"			
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"/>
            
           
             
            
              <TextView android:id="@+id/text9"			
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"/>
              
        
              
           
    		
              
        
              <TextView
            android:id="@+id/textView21"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"/> 
            
              
             
              
              
    </LinearLayout>