title: Can I scroll a fragment in and out of an activity in Android Studio?
body: <p>I have a Fragment which i want to scroll in and out of an Acitvity. 
  Right know i have an onScroll event which when it is called finds out the direction and then moves the fragment in this direction. But this way it is like the scroll method is only triggering the moveUp (or down) methods for my fragment which looks very stiff. I would like to have nice animation like when you scroll a list or so... Has anyone done this before? Or has an idea how to translate a fragment in sync with the scrolling?</p>