title: Pages must fill the whole ViewPager2 (use match_parent)
body: <p>I have an item layout where I display an image, product name, and product image. I must display image in 1:1.5 ration using constraint layout. But when I load a small image, below texts not displaying.</p>
  
  <p>Below is my code of item XML:-</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layout 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"&gt;
  
      &lt;androidx.constraintlayout.widget.ConstraintLayout
          android:id="@+id/coordinatorLayoutCartRoot"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;com.jackandphantom.circularimageview.RoundedImage
              android:id="@+id/imageViewSlider"
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:scaleType="centerCrop"
              app:layout_constraintBottom_toTopOf="@id/tvTitle"
              app:layout_constraintDimensionRatio="WH,1:1.4"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent"
              app:rounded_radius="0"
              tools:src="@tools:sample/avatars" /&gt;
  
          &lt;TextView
              android:id="@+id/tvTitle"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:padding="4dp"
              android:text="Fitted crew neck sweater"
              android:textColor="@color/colorBlack"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toBottomOf="@id/imageViewSlider" /&gt;
  
          &lt;TextView
              android:id="@+id/tvPrice"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:padding="4dp"
              android:text="$34.00"
              android:textColor="@color/colorBlack"
              android:textStyle="bold"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toBottomOf="@id/tvTitle" /&gt;
  
      &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  &lt;/layout&gt;
  </code></pre>
  
  <ol>
  <li>Output with long image:- <a href="https://i.imgur.com/QVnljX6.png" rel="noreferrer">https://i.imgur.com/QVnljX6.png</a></li>
  <li>Output with small image:- <a href="https://i.imgur.com/0ZwkVwE.png" rel="noreferrer">https://i.imgur.com/0ZwkVwE.png</a></li>
  </ol>
  
  <p>And if I replace match_parent with wrap_content, app crashes with below error :-</p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: Pages must fill the whole ViewPager2 (use match_parent)</p>
  </blockquote>