title: maxHeight does not work on RecyclerView
body: <p>I've a <code>DialogFragment</code>.</p>
  
  <p>Layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/recycler_view"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:maxHeight="280dp"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.0"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/line/&gt;
  
      &lt;View
          android:id="@+id/line"
          android:layout_width="wrap_content"
          android:layout_height="1dp"
          android:background="@color/black"/&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>I want to initially "wrap recycler view content" (height), but it cannot exceed 280dp. It seems that <code>android:maxHeight</code> has no effect what-so-ever.</p>