开发者

flip activity in android

I'm developing an android application and I want flipping in my application (like iPhone). When the user touches the screen and swipes left or right it should开发者_JAVA百科 change the activity.

Does anyone have suggestions as to how I could implement this in code?


try this http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html


I have another Solution:

If you want to flip not only one view but the whole screen with all views, you have only one possibility: you must use Fragment and flip them. For this use google solution: google example

So in your project use mix structure activities and fragments

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜