How to implement App Intro with sharing animation

I am trying to embed an application, for example in the attached gif.

I know that general animation is not supported in Viewpager, but I really need to have something like this.

Any help would be greatly appreciated.

enter image description here

+5
source share
2 answers

One way is to draw an animated view at the top of the pager using framelayout. And then animate it with scale animation and translate the animation while moving the viewing pager.

+2
source

I answer my question to help others who are looking for the same.

I found a library for such an animation. Below is the github link https://github.com/IFTTT/SparkleMotion

However, I used the PrafulBhatnagar suggestion and used some overlay views, hiding the actual pageviews while scrolling / scrolling the viewPager.

+2
source

Source: https://habr.com/ru/post/1243651/


All Articles