title: motionlayout - view gets hide when the transition completed
body: <p>I'm moving a view from top to bottom of my activity , the problem is ,it works fine and move my view from bottom to up but when the transition completed , it hides the view </p>
  
  <p>this is my layout : </p>
  
  <pre><code>   &lt;androidx.constraintlayout.motion.widget.MotionLayout
              android:id="@+id/fist_motionlayout"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              app:layoutDescription="@xml/fistactivity_motions"
              app:showPaths="true"&gt;
  
              &lt;include
                  android:id="@+id/appbar"
                  layout="@layout/appbar"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toTopOf="parent" /&gt;
  
              &lt;androidx.cardview.widget.CardView
                  android:id="@+id/marque"
                  android:layout_width="match_parent"
                  android:layout_height="45dp"
                  app:cardBackgroundColor="#395471"
                  app:cardCornerRadius="7dp"
                  app:cardElevation="1dp"
                  android:layout_marginLeft="1dp"
                  android:layout_marginRight="1dp"
                  app:layout_constraintTop_toBottomOf="@+id/appbar"
                  tools:visibility="visible"&gt;
  
              &lt;/androidx.cardview.widget.CardView&gt;
  
              &lt;FrameLayout
                  android:id="@+id/fm_firstact_content"
                  android:layout_width="0dp"
                  android:layout_height="0dp"
                  app:layout_constraintBottom_toBottomOf="parent"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/marque" &gt;
  
  &lt;/FrameLayout&gt;
  
          &lt;/androidx.constraintlayout.motion.widget.MotionLayout&gt;
  </code></pre>
  
  <p>this is my xml code: </p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:motion="http://schemas.android.com/tools"&gt;
  
      &lt;ConstraintSet android:id="@+id/start_set"&gt;
          &lt;Constraint
              android:id="@+id/fm_firstact_content"
              android:layout_width="0dp"
              android:layout_height="0dp"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toBottomOf="parent"&gt;&lt;/Constraint&gt;
      &lt;/ConstraintSet&gt;
  
      &lt;ConstraintSet android:id="@+id/end_set"&gt;
          &lt;Constraint
              android:id="@+id/fm_firstact_content"
              android:layout_width="0dp"
              android:layout_height="0dp"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toBottomOf="@+id/marque"&gt;&lt;/Constraint&gt;
      &lt;/ConstraintSet&gt;
  
      &lt;Transition
          android:id="@+id/trans_firstact_fm_content"
          app:constraintSetEnd="@id/end_set"
          app:constraintSetStart="@id/start_set"
          app:duration="2000"&gt;&lt;/Transition&gt;
  &lt;/MotionScene&gt;
  </code></pre>
  
  <p>and in the activity , I just start it: </p>
  
  <pre><code> MotionLayout ml=vf.findViewById(R.id.fist_motionlayout);
      ml.transitionToEnd();
  </code></pre>
  
  <p>when I run the app, it moves the view from bottom to top and suddenly it get invisible , and strange thing is when I run the activity again from another activity , it works fine and it doesn't get invisible but if I close the app and run it again , it gets hide . every time app runs for the first time , view gets hide after the transition completed </p>
  
  <p>this is my gradle : </p>
  
  <pre><code>implementation 'androidx.appcompat:appcompat:1.2.0-alpha01'
  implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha01'
  implementation 'androidx.cardview:cardview:1.0.0-alpha01'
  implementation 'com.google.android.material:material:1.2.0-alpha01'
  implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
  </code></pre>
  
  <p>how to solve it ? </p>