GridView cuts off last row
<p>I have a <code>GridView</code> that I populate through code, the problem is that the last row it's not fully visible. I don't know why this is happening, the layout of the <code>Activity</code> is pretty simple:</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="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"&gt;

    &lt;GridView
        android:id="@+id/sectionGrid"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/white"
        android:horizontalSpacing="0dp"
        android:numColumns="1"
        android:stretchMode="columnWidth"
        android:verticalSpacing="10dp"&gt;

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

<p>And the Layout for the row is the following:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:pew="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"&gt;

    &lt;RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@color/white" &gt;

        &lt;ImageView
            android:layout_width="match_parent"
            android:layout_height="180dp"
            android:layout_gravity="center"
            android:scaleType="centerCrop"
            android:id="@+id/sectionImage"/&gt;


        &lt;RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_alignTop="@+id/sectionImage"
            android:layout_alignLeft="@+id/sectionImage"
            android:layout_alignStart="@+id/sectionImage"
            android:background="@drawable/bg_section_row"
            android:layout_alignBottom="@+id/sectionTitle"
            android:layout_alignRight="@+id/sectionImage"
            android:layout_alignEnd="@+id/sectionImage"
            android:id="@+id/sectionBgView"&gt;&lt;/RelativeLayout&gt;

        &lt;TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textColor="@color/white"
            android:scrollHorizontally="true"
            android:ellipsize="end"
            android:maxLines="1"
            android:padding="10dp"
            android:layout_alignBottom="@+id/sectionImage"
            android:layout_alignLeft="@+id/sectionImage"
            android:layout_alignStart="@+id/sectionImage"
            android:layout_alignRight="@+id/sectionImage"
            android:layout_alignEnd="@+id/sectionImage"
            android:id="@+id/sectionTitle"/&gt;


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

<p>I'm not sure if it might be related but currently i'm using the following theme:</p>

<pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
</code></pre>

<p>What's wrong with the layout? am I missing any property for the <code>GridView</code>?</p>