title: How to set Max Height for RecyclerView?
body: <p>How to set Max Height of RecyclerView?
  I have a RecyclerView as follows:</p>
  
  <pre><code>                &lt;android.support.v7.widget.RecyclerView
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:id="@+id/recycler_goods"&gt;
                  &lt;/android.support.v7.widget.RecyclerView&gt;
  </code></pre>
  
  <p>When the items of recyclerview  are too many, the recyclerview will be too high. </p>
  
  <p>Can I set the max height of the recyclerview ?</p>
  
  <p>when the recyclerview grow to the max height,The recyclerview will not grow up and the items of recyclerview can be scrolled.</p>