title: why is some space is remaining after swipe left and right in Listview
body: <p>I swipe both side in Listview it successfully done but when when i swipe any side some space is vacant I can't find why is space is renaming: -</p>
  
  <p><a href="https://i.stack.imgur.com/jrjQ0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jrjQ0.png" alt="enter image description here"></a>   </p>
  
  <p><a href="https://i.stack.imgur.com/aDPxP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aDPxP.png" alt="enter image description here"></a></p>
  
  <p>Space is renaming after secondary  layout. Here is my child layout:- </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;com.octalsoftaware.archi.daimajia.swipe.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:swipe="http://schemas.android.com/tools"
      android:id="@+id/swipe"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@color/whitecolor"&gt;
  
      &lt;LinearLayout
          android:id="@+id/delete_layout"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@color/red_color"
          android:orientation="horizontal"
          android:paddingBottom="@dimen/_10sdp"
          android:paddingLeft="@dimen/_10sdp"
          android:paddingRight="@dimen/_10sdp"
          android:paddingTop="@dimen/_10sdp"
          android:weightSum="3"&gt;
  
          &lt;LinearLayout
              android:id="@+id/ll_charge"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:layout_marginLeft="@dimen/_10sdp"
              android:layout_weight="1"&gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:src="@drawable/forbidden" /&gt;
  
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:text="@string/delete"
                  android:textColor="@android:color/white" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="@dimen/_10sdp"
              android:orientation="vertical"
              android:layout_weight="1"&gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:src="@drawable/forbidden" /&gt;
  
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:text="@string/delete"
                  android:textColor="@android:color/white" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="@dimen/_10sdp"
              android:orientation="vertical"
              android:layout_weight="1"&gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:src="@drawable/forbidden" /&gt;
  
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:text="@string/delete"
                  android:textColor="@android:color/white" /&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:id="@+id/left_layout"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@color/red_color"
          android:paddingBottom="@dimen/_10sdp"
          android:paddingLeft="@dimen/_10sdp"
          android:paddingRight="@dimen/_10sdp"
          android:paddingTop="@dimen/_10sdp"
          android:orientation="horizontal"
          android:weightSum="2"&gt;
  
          &lt;LinearLayout
              android:id="@+id/ll_delete"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:layout_marginLeft="@dimen/_10sdp"
              android:layout_weight="1"&gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:src="@drawable/forbidden" /&gt;
  
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:text="@string/delete"
                  android:textColor="@android:color/white" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:layout_marginLeft="@dimen/_10sdp"
              android:layout_marginRight="@dimen/_10sdp"
              android:layout_weight="1"&gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:src="@drawable/forbidden" /&gt;
  
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:text="@string/delete"
                  android:textColor="@android:color/white" /&gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@color/whitecolor"
          android:orientation="vertical"
          android:padding="@dimen/_10sdp"
          android:visibility="visible"&gt;
  
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_marginLeft="@dimen/_10sdp"
              android:layout_toLeftOf="@+id/img_arrow"
              android:orientation="vertical"&gt;
  
              &lt;TextView
                  android:id="@+id/txt_settingname"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Lee Alexender"
                  android:textColor="@color/lightblack"
                  android:textSize="@dimen/_15sdp" /&gt;
  
  
              &lt;LinearLayout
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="@dimen/_5sdp"
                  android:orientation="horizontal"&gt;
  
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:src="@drawable/chargecircle" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="@dimen/_10sdp"
                      android:src="@drawable/qicircle" /&gt;
  
                  &lt;ImageView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="@dimen/_10sdp"
                      android:src="@drawable/cameracircle" /&gt;
  
              &lt;/LinearLayout&gt;
  
          &lt;/LinearLayout&gt;
  
  
          &lt;ImageView
              android:id="@+id/img_arrow"
              android:layout_width="25dp"
              android:layout_height="25dp"
              android:layout_alignParentRight="true"
              android:layout_centerVertical="true"
              android:src="@drawable/arrow" /&gt;
  
  
      &lt;/RelativeLayout&gt;
  
  &lt;/com.octalsoftaware.archi.daimajia.swipe.SwipeLayout&gt;
  </code></pre>