开发者

Android Parallax Animation

开发者 https://www.devze.com 2023-03-26 22:50 出处:网络
Requirements: Honeycomb 3.1, Galaxy Tab 10.1 I\'m working on a project that requires Parallax animation in the transition from one element to another, the elements are in a component similar to the G

Requirements: Honeycomb 3.1, Galaxy Tab 10.1

I'm working on a project that requires Parallax animation in the transition from one element to another, the elements are in a component similar to the Gallery and what I need is when the user swipes over the screen to navigate to the different gro开发者_JAVA百科ups, the elements on these groups are animated with a parallax approach.

I have tested with the basic animation approach animating the bitmaps but it's slow so currently I am testing with SurfaceView.

What do you think is the best approach to achieve this?


If you try JetBoy which comes with Android SDK, you can see the quality of a paralax bitmap scrolling on SurfaceView. I find that smooth scrolling of huge sprites and background looks of course smoother with openGL.

0

精彩评论

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