title: Slide animation in Xamarin forms
body: <p>I am trying to animate a StackLayout. Two requirements:</p>
  
  <ol>
  <li>The stack layout moves horizontally and comes back to its original position.  It should animate in such a manner that it feels like it disappears from the right side of the screen and appears from the left.</li>
  <li>When half of the stack layout goes out of the right side, the other half should be visible on the left side of the screen i.e. Translate around the screen</li>
  </ol>
  
  <p>I wrote this:</p>
  
  <pre><code>await sl.TranslateTo(800, 0, 0);
  await sl.TranslateTo(0,0,1000);
  </code></pre>
  
  <p>It satisfies the requirement 1 but I am not able to figure out a solution to #2.</p>