title: Android ListView inside Fragment doesn't display all items. Last displayed Item is cutted of
body: <p>I currently have a bug in my application. The ListView which is inside a fragment doesn't display all Items. Here's a Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/VCPmU.png" rel="nofollow noreferrer">Screenshot of the ListView</a></p>
  
  <p>It should be counting to 50. But it's only counting to 30 (which is cutted of).</p>
  
  <p>Here's my ListView Item Row Layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
          &lt;TextView
              android:id="@+id/textView_listview_name"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="@dimen/_16sdp"
              android:layout_marginTop="@dimen/_4sdp"
              android:text="TextView"
              android:textAlignment="center"
              android:textSize="@dimen/_18ssp"
              android:gravity="center"
              android:layout_gravity="center_vertical"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent" /&gt;
      &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>And here is my fragment with the listView:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".GeneralFragment"&gt;
  
      &lt;ListView
          android:id="@+id/listViewGeneral"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Thank you :)</p>