title: Animate view off Screen in android Constraint Layout
body: <p>I have a TextView inside a Constraint Layout. I am trying to animate in a way that the view goes off the screen from top. This is what I did so far,</p>
  
  <pre><code>ConstraintSet constraintSet = new ConstraintSet();
  ConstraintLayout layout = (ConstraintLayout)holder.mView;
  constraintSet.clone(layout);
  
  constraintSet.clear(R.id.txt_PackageTitle,ConstraintSet.TOP);
  constraintSet.clear(R.id.txt_PackageDescription,ConstraintSet.TOP);  
  constraintSet.clear(R.id.txt_PackageTitle,ConstraintSet.BOTTOM); 
  constraintSet.clear(R.id.txt_PackageDescription,ConstraintSet.BOTTOM);
  
  constraintSet.setMargin(R.id.txt_PackageTitle,ConstraintSet.TOP,-600); 
  constraintSet.setMargin(R.id.txt_PackageDescription,ConstraintSet.TOP,-1200);
  
  ChangeBounds transition = new ChangeBounds();
  transition.setInterpolator(new BounceInterpolator());
  transition.setDuration(600);                
  TransitionManager.beginDelayedTransition(layout,transition);
                      constraintSet.applyTo(layout);
  </code></pre>
  
  <p>Now this code only moves the contents to the very top of the view, its not going out of the view and getting disappeared.</p>
  
  <p>How can I do this with constraint layout?</p>