How to remove space in the gallery
<p>I have two galleries.image gallery and a text gallery seperately.There is space at the beginning and end of both the galleries.All are in relative layout.I dont understand what is the problem.Please help.</p>

<p>I have posted my code also:</p>

<pre><code>     &lt;?xml version="1.0" encoding="utf-8"?&gt;
        &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/main"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
            &gt;

    &lt;TextView android:text="Airing Now" 
    android:id="@+id/titletextview" 
    android:textSize="22dip"
    android:textColor="@color/textcolor"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"&gt;
    &lt;/TextView&gt;


    &lt;Gallery
    android:id="@+id/Gallery_image" 
    android:layout_below="@+id/titletextview"
    android:spacing="15dip"
android:padding="15dip"

    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"&gt;
    &lt;/Gallery&gt;

    &lt;ImageView android:id="@+id/ImageView"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"&gt;
    &lt;/ImageView&gt;

     &lt;Gallery
        android:id="@+id/gallery_text"
        android:layout_below="@+id/Gallery_image"
        android:layout_width="fill_parent" 
        android:layout_height="match_parent"
         /&gt;
    &lt;/RelativeLayout&gt;
</code></pre>

<p>I have space at the beginning and end of gallery view.</p>
