title: RecyclerView holder always is wrap_content
body: <p>I have this layout with a recyclerview:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  tools:context=".view.ContactFragment"&gt;
  
  &lt;data&gt;
  
      &lt;variable
          name="vm"
          type="corp.br.UserInfoViewModel" /&gt;
  
  
  &lt;/data&gt;
  
  &lt;androidx.constraintlayout.widget.ConstraintLayout
      android:padding="@dimen/default_margin"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;TextView
          android:text="@string/account_destination_label"
          android:id="@+id/accountDestinationTv"
          style="@style/DefaulAppearance.Title"
          app:layout_constraintTop_toTopOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  
      &lt;androidx.recyclerview.widget.RecyclerView
          android:id="@+id/contactsRv"
          app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
          android:layout_marginTop="@dimen/default_margin"
          app:layout_constraintTop_toBottomOf="@+id/accountDestinationTv"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          android:layout_width="match_parent"
          android:layout_height="0dp"/&gt;
  
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  &lt;/layout&gt;
  </code></pre>
  
  <p>And I have this holder:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  tools:context=".adapter.holder.BaseHolder"&gt;
  
  &lt;data&gt;
      &lt;variable
          name="name"
          type="String" /&gt;
  &lt;/data&gt;
  
  &lt;TextView
      android:id="@+id/item_contact_name"
      android:text="@{name}"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:padding="@dimen/default_margin"
      style="@style/DefaulAppearance"
      tools:text="teste"
      /&gt;
  
  &lt;/layout&gt;
  </code></pre>
  
  <p>By some reason every holder item has the wrap_content property when I use Layout Inspector and click only works when I click over the text and not in the entire line. My fragment that have this recyclerview doesn't do any change to the size, neighter the adapter and viewholder do.</p>
  
  <p>Someone can tell me what is wrong?</p>