title: I have 2 RecyclerViews in a Fragment. But only the 1st one is shown
body: <p>I'm trying to have two RecyclerViews in a Fragment. One of them being a horizontally aligned RecyclerView, and the other a vertically aligned one. But only the horizontal RecyclerView is visible. (The vertical RecyclerView is visible if I change the order of the RecyclerViews in the layout file, so I'm pretty sure there's nothing wrong with the RecyclerViews.)</p>
  
  <p>As per other answers to similar questions, I've added the <code>layout_weight=1</code> in both the RecyclerViews. But the 2nd RecyclerView still doesn't show.</p>
  
  <p>Here's my layout file:</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;android.support.v4.widget.SwipeRefreshLayout
              android:id="@+id/swipeRefreshLayout"
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
              &lt;android.support.v7.widget.RecyclerView
                  android:id="@+id/CategoryPageRecyclerView"
                  android:layout_width="fill_parent"
                  android:layout_weight="1"
                  android:layout_height="0dp"
                  android:scrollbars="none" /&gt;
  
              &lt;android.support.v7.widget.RecyclerView
                  android:id="@+id/ItemsRecyclerView"
                  android:layout_width="fill_parent"
                  android:layout_weight="1"
                  android:layout_height="0dp"
                  android:scrollbars="vertical" /&gt;
  
          &lt;/android.support.v4.widget.SwipeRefreshLayout&gt;
      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I have a feeling the SwipeRefreshLayout is causing an issue. Any ideas on how to fix this?</p>