Flip a view in ViewPager

2019-08-18 02:54发布

问题:

Is it possible to flip a view in ViewPager.Basically i want to put several views as in hompage and a view behind every view i.e user must be able to flip the view too.

回答1:

Yes Very Much Possible.

You need Rotation Animation

Look here

How to make a smooth image rotation in Android?

and

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/animation/Rotate3dAnimation.html

I used the above and implemented successfully what you are asking.

Look for its example in api demo of android