Xml file image over image
<p>i want to create a listView with swipe (front and background) from here:</p>

<p><a href="https://github.com/47deg/android-swipelistview" rel="nofollow">https://github.com/47deg/android-swipelistview</a></p>

<p><a href="https://github.com/47deg/android-swipelistview-sample/" rel="nofollow">https://github.com/47deg/android-swipelistview-sample/</a></p>

<p>i created an xml file which defines the row element:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;



    &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             android:layout_width="fill_parent"
             android:layout_height="fill_parent"
        &gt;



    &lt;RelativeLayout 
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/front"
            android:tag="front" 
            android:layout_marginLeft="5dp"
            android:layout_marginRight="5dp"
            android:background="#ffffff"&gt;

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

            &lt;TextView
                android:id="@+id/TextView01"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignBottom="@+id/ImageView01"
                android:layout_centerHorizontal="true"
                android:textSize="18sp"

                android:textStyle="bold"
                android:inputType="textMultiLine" /&gt;

        &lt;/RelativeLayout&gt;





    &lt;LinearLayout 
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:orientation="horizontal"
                      android:id="@+id/back"
                      android:background="#e3e3e3"  
                     android:tag="back"
                     android:layout_marginLeft="5dp"
                     android:layout_marginRight="5dp"

                      &gt;

                      &lt;Button
                          android:id="@+id/deleteBtn1"
                          android:layout_width="150dp"
                          android:layout_height="100dp"

                          android:text="Delete" /&gt;

                      &lt;Button
                          android:id="@+id/UpdateBtn1"
                          android:layout_width="150dp"
                          android:layout_height="100dp"

                          android:text="Update" /&gt;

                  &lt;/LinearLayout&gt;    





&lt;/FrameLayout&gt;
</code></pre>

<p>and the listview xml:</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="fill_parent"
        android:layout_below="@+id/linearLayout1"
        android:orientation="vertical" &gt;

                &lt;EditText android:id="@+id/EditText01"
                                android:layout_height="wrap_content"
                                android:layout_width="fill_parent"
                                android:hint="Search"&gt;                               
                &lt;/EditText&gt;

    &lt;com.fortysevendeg.android.swipelistview.SwipeListView
        xmlns:swipe="http://schemas.android.com/apk/res-auto"
        android:id="@+id/example_lv_list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="5dp"
        android:layout_marginRight="5dp"
        android:background="@drawable/profile_listview_back"
        android:listSelector="#00000000"
        swipe:swipeActionLeft="dismiss"
        swipe:swipeActionRight="reveal"
        swipe:swipeBackView="@+id/back"
        swipe:swipeCloseAllItemsWhenMoveList="true"
        swipe:swipeFrontView="@+id/front"
        swipe:swipeMode="both" /&gt;

    &lt;/LinearLayout&gt;
</code></pre>

<p>however when i run this listview, it shows me the background over the front(i want that only when i swipe the front it will show me the back)</p>

<p>i want that the delete and update button will show only when swipe the front..</p>

<p>how can i solve it? thanks alot</p>

<p><img src="http://i.stack.imgur.com/ZcOsF.png" alt="enter image description here"></p>
