Flip a view in ViewPager

为君一笑 提交于 2019-12-11 18:06:37

问题


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



来源:https://stackoverflow.com/questions/10480847/flip-a-view-in-viewpager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!