开发者

flip activity in android

开发者 https://www.devze.com 2023-03-02 10:30 出处:网络
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.

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

精彩评论

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