title: android:visibility changes to children of MotionLayout
body: <p>I must be missing something with android:visibility changes within a motion layout. Here’s a simplified version of my layout.</p>
  
  <pre><code>&lt;MotionLayout&gt;
   &lt;ImageView android:id="@+id/HeaderBackground" /&gt;
  Bunch of image views, Text views that are constrainted to the HeaderBackground. 
  &lt;RecyclerView android:visibility="visible"&gt;
  &lt;EditText android:visibility="visible"&gt;
  &lt;CustomViewGroup1 android:visibility="gone"&gt;
  &lt;/MotionLayout&gt;
  </code></pre>
  
  <p>I have a motionScreen that sets a Transition onswipe based on the recycler view to reduce the height of the HeaderBackground and hide some of the images/text views (i.e a collasping toolbar).
  However, if there’s some fatal error, I want to show CustomViewGroup1 on top/infront of the RecyclerView but toggling the visibility of the RecyclerView to gone and CustomViewGroup1 to visible doesn’t make the CustomViewGroup1 show.</p>
  
  <p>I could move the CustomViewGroup group out of the MotionLayout and add a framelayout as the root of the activity and hide the whole MotionLayout. But this is less than ideal as I’d have to copy of the toolbar bar and icons. So I guess the question is about visibility changes and potentially z ordering?</p>
  
  <p>I'm using <code>androidx.constraintlayout:constraintlayout:2.0.0-beta2</code>  </p>