title: When Scrolling in RecyclerView automatically adds space in between rows
body: <p>I have used RecyclerView to display some JSON data using Volley Library. I am getting the JSON data, but initially when data is displayed, it is in correct format. But when I scroll in recyclerview, then huge space is added in between rows.</p>
  
  <p>Before Scrolling
  <a href="https://i.stack.imgur.com/MzUMZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MzUMZ.png" alt="Before Scolling"></a></p>
  
  <p><a href="https://i.stack.imgur.com/gPA2b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gPA2b.png" alt="enter image description here"></a></p>
  
  <p>After Scrolling
  Here is the XMl Part of row.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  &lt;TextView
      android:id="@+id/tv_title"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_toRightOf="@+id/iv_image"
      android:textSize="18sp"
      /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Here is the recyclerview added in xml</p>
  
  <p>
  </p>
  
  <pre><code> &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/recycler_view"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
  
      /&gt;
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>