title: Items doesn't fill space
body: <p>I have a RecyclerView. When you look at the picture, I have the Problem, that the Items of the RecyclerView won't fill the full space of the screen. (I mean the space between the item_note and the screen edge...</p>
  
  <p><img src="https://i.stack.imgur.com/QNnFd.png" alt=""></p>
  
  <p>Here is my main_activity.XML:</p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
      android:id="@+id/rvNoteList"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:scrollbars="vertical" /&gt;
  </code></pre>
  
  <p>Here is my item_layout.XM:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:orientation="horizontal"
  android:padding="10dp"
  android:layout_marginTop="5dp"
  android:layout_marginRight="5dp"
  android:layout_marginLeft="5dp"
  android:background="@drawable/note_bg"&gt;
  
  &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_weight="9"
      android:orientation="vertical"&gt;
  
      &lt;TextView
          android:id="@+id/tvTitle"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:padding="5dp"
          android:text="Title"
          android:textStyle="bold"
          android:textSize="18sp" /&gt;
  
      &lt;TextView
          android:id="@+id/tvContent"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:padding="5dp"
          android:text="Text for Content" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Here is how I set the Layout in MainActivity.java:</p>
  
  <pre><code>recyclerView.setLayoutManager(new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL));
  recyclerView.setItemAnimator(new DefaultItemAnimator());
  </code></pre>
  
  <p><strong>EDIT:</strong>
  <a href="https://i.stack.imgur.com/sBKlp.png" rel="nofollow noreferrer">click to see</a></p>
  
  <p><strong>EDIT 2:</strong>
  <a href="https://i.stack.imgur.com/rJkdK.png" rel="nofollow noreferrer">click to see</a></p>
  
  <p><strong>EDIT 3:</strong></p>
  
  <p>Adapter:</p>
  
  <pre><code>adapter = new FirestoreRecyclerAdapter&lt;Note, NoteViewHolder&gt;(response) {
          @Override
          protected void onBindViewHolder(NoteViewHolder holder, int position, Note model) {
              final Note note = notesList.get(position);
  
              holder.title.setText(note.getTitle());
              holder.content.setText(note.getContent());
          }
  
          @Override
          public NoteViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
              View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_note, parent, false);
              return new NoteViewHolder(view);
          }
  
          @Override
          public void onError(FirebaseFirestoreException e) {
              Log.e("error", e.getMessage());
          }
      };
  </code></pre>
  
  <p><strong>EDIT 4:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item&gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;solid android:color="#CABBBBBB"/&gt;
          &lt;corners android:radius="2dp" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  
  &lt;item
      android:left="0dp"
      android:right="0dp"
      android:top="0dp"
      android:bottom="2dp"&gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;solid android:color="@android:color/white"/&gt;
          &lt;corners android:radius="2dp" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>