title: Chain with a barrier in ConstraintLayout
body: <p>I want to achieve the layout below using a ConstraintLayout with no nesting.</p>
  
  <p><a href="https://i.stack.imgur.com/Vj7sUl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Vj7sUl.png" alt="enter image description here"></a></p>
  
  <p>The layout requires a barrier since it's not guaranteed which textview will be taller. It also requires a chain since everything needs to be centered. The issue is that I can't find a way to make chain work with barriers.</p>
  
  <p>Here's what I have so far which will layout correctly but will not center:</p>
  
  <pre><code>&lt;android.support.constraint.ConstraintLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      xmlns:tools="http://schemas.android.com/tools"
      xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
  
      &lt;TextView
          android:id="@+id/topLeftText"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_margin="16dp"
          tools:text="Test test test test test test test test test test"
          app:layout_constraintHorizontal_chainStyle="packed"
          app:layout_constraintTop_toTopOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintEnd_toStartOf="@+id/topRightText"/&gt;
  
      &lt;TextView
          android:id="@+id/topRightText"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_marginTop="16dp"
          android:layout_marginBottom="16dp"
          android:layout_marginRight="16dp"
          android:layout_marginEnd="16dp"
          tools:text="Test test test test test test test test test test test test test test test test test test test test"
          app:layout_constraintTop_toTopOf="parent"
          app:layout_constraintStart_toEndOf="@+id/topLeftText"
          app:layout_constraintEnd_toEndOf="parent"/&gt;
  
      &lt;android.support.constraint.Barrier
          android:id="@+id/barrier"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          app:constraint_referenced_ids="topLeftText,topRightText"
          app:barrierDirection="bottom"/&gt;
  
      &lt;TextView
          android:id="@+id/bottomText"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_margin="16dp"
          tools:text="Test test test test test test test test test test test test test test test test test test test test"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/barrier"/&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>If anyone knows how to achieve this, that would be much appreciated!</p>