title: RecyclerView item height and width change dynamically Android
body: <p>I am new to android development and I am developing an app where the app downloads pictures from server and show them in a gridView. But some extra spaces are coming up when the app is run on a bigger screen phone. Here are some screenshots. How do I solve this ? I have the model of each item with a fixed height and width of 110dp</p>
  
  <p>My image model : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ImageView
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="110dp"
      android:layout_height="110dp"
      app:srcCompat="@drawable/post2"
      android:id="@+id/imageView2"
      android:adjustViewBounds="true"
      android:scaleType="centerCrop"
      android:layout_margin="1.5dp" /&gt;
  </code></pre>
  
  <p>My Recycler View : </p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
                  android:id="@+id/gallerygrid"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:layout_marginTop="4dp"
                  android:numColumns="auto_fit"
                  android:stretchMode="columnWidth"
                  android:visibility="visible"
                  android:layout_gravity="center"&gt;
  
              &lt;/android.support.v7.widget.RecyclerView&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/YnAcn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YnAcn.png" alt="On smaller screen phone"></a> </p>
  
  <p><a href="https://i.stack.imgur.com/GAC3f.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GAC3f.png" alt="On bigger screen phone"></a></p>