title: Constraint layout 0dp doesn't rendering properly
body: <p>Here is my xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.constraintlayout.widget.ConstraintLayout 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"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:showIn="@layout/activity_test"&gt;
  
      &lt;androidx.recyclerview.widget.RecyclerView
          android:id="@+id/recyclerView"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:padding="@dimen/dp5"
          app:layout_constraintBottom_toTopOf="@+id/tiLayout"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;ImageView
          android:id="@+id/imageView"
          android:layout_width="42dp"
          android:layout_height="42dp"
          android:layout_marginStart="5dp"
          android:layout_marginEnd="5dp"
          android:background="@drawable/shape_oval_profile"
          android:contentDescription="@string/add"
          android:padding="10dp"
          android:src="@drawable/ic_outline_info_24px"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintEnd_toStartOf="@+id/tiLayout"
          app:layout_constraintStart_toStartOf="parent" /&gt;
  
      &lt;com.google.android.material.textfield.TextInputLayout
          android:id="@+id/tiLayout"
          style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:hint="@string/enter_the_message"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toEndOf="@+id/imageView"&gt;
  
          &lt;com.google.android.material.textfield.TextInputEditText
              android:id="@+id/tiEditText"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:ems="9"
              android:fontFamily="@font/trebuchet"
              android:inputType="textMultiLine"
              android:textColor="@color/grey" /&gt;
      &lt;/com.google.android.material.textfield.TextInputLayout&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  
  <p>This gives me following output,</p>
  
  <p><a href="https://i.stack.imgur.com/9pQ0K.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9pQ0K.gif" alt="enter image description here"></a></p>
  
  <p>If I change <code>TextInputLayout</code>'s width to <code>android:layout_width="wrap_content"</code>, I am getting following output, </p>
  
  <p><a href="https://i.stack.imgur.com/2b5GG.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2b5GG.gif" alt="enter image description here"></a></p>