title: How to make MotionLayout scroll like CollapsingToolbarLayout when using the enterAlwaysCollapsed flag?
body: <p>Consider the following <a href="https://github.com/android/views-widgets-samples/blob/main/ConstraintLayoutExamples/motionlayout/src/main/res/layout/motion_11_coordinatorlayout.xml" rel="nofollow noreferrer">Coordinator+AppBar</a>+<a href="https://github.com/android/views-widgets-samples/blob/main/ConstraintLayoutExamples/motionlayout/src/main/res/layout/motion_11_coordinatorlayout_header.xml" rel="nofollow noreferrer">MotionLayout</a> and its <a href="https://github.com/android/views-widgets-samples/blob/main/ConstraintLayoutExamples/motionlayout/src/main/res/xml/scene_11_header.xml" rel="nofollow noreferrer">MotionScene</a> from Google's demo. This creates a MotionLayout that sync's its Transition progress when the user is scrolling.</p>
  <p>Video: <a href="https://i.imgur.com/1MnPB8R.mp4" rel="nofollow noreferrer">https://i.imgur.com/1MnPB8R.mp4</a></p>
  <p>However, when I change the MotionLayout's scrollFlags from</p>
  <pre><code>app:layout_scrollFlags=&quot;scroll|enterAlways|snap|exitUntilCollapsed&quot;
  </code></pre>
  <p>to:</p>
  <pre><code>app:layout_scrollFlags=&quot;scroll|enterAlways|snap|enterAlwaysCollapsed&quot;
  </code></pre>
  <p>I want the transition to stay at the end state, then do move up in the Y axis, like a CollapsingToolbarLayout. But instead I get this:</p>
  <p>Video: <a href="https://i.imgur.com/BuXmCrp.mp4" rel="nofollow noreferrer">https://i.imgur.com/BuXmCrp.mp4</a></p>
  <p>How do you get a collapsing MotionLayout to scroll like a <code>CollapsingToolbarLayout</code> when using the <code>enterAlwaysCollapsed</code> flag?</p>