title: Place items one line using android constraint layout 2.0.0 Flow
body: <p>I tried to use new android Flow layout. <a href="https://developer.android.com/reference/android/support/constraint/helper/Flow" rel="nofollow noreferrer">https://developer.android.com/reference/android/support/constraint/helper/Flow</a>. I have this screen, items in flow layout and expander (now is open). When expander is closed i want to place only first line (4 items).</p>
  
  <p><a href="https://i.stack.imgur.com/g7W1c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g7W1c.png" alt=""></a></p>
  
  <p>My xml flow layout</p>
  
  <pre><code>   &lt;androidx.constraintlayout.helper.widget.Flow
                      android:id="@+id/fr_mail_viewer_attachments_flow"
                      android:layout_width="0dp"
                      android:layout_height="0dp"
                      android:layout_marginTop="8dp"
                      app:flow_horizontalBias="0"
                      app:flow_horizontalGap="8dp"
                      app:flow_horizontalStyle="packed"
                      app:flow_verticalBias="0"
                      app:flow_verticalGap="8dp"
                      android:layout_marginEnd="8dp"
                      app:flow_wrapMode="chain"
                      app:layout_constraintBottom_toBottomOf="parent"
                      app:layout_constraintEnd_toStartOf="@id/fr_mail_viewer_attachments_expander"
                      app:layout_constraintStart_toStartOf="parent"
                      app:layout_constraintTop_toTopOf="parent" /&gt;
  </code></pre>
  
  <p>I tried to use <code>app:flow_maxElementsWrap="1"</code> and it didn't help me</p>
  
  <p><a href="https://i.stack.imgur.com/mA3XZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mA3XZ.png" alt="enter image description here"></a></p>
  
  <p>Can anyone help me or share some resourses about flow layout?</p>