views:

960

answers:

0

hello, I'm a new programmer , and several months ago I began studying in android. Now I have a question for your help. I use my animation to replace the translateAnimation used when activity enters or exits. The animation is a rotating animation but different from rotateAnimation which is already defined in freamworks. It rotates with a axle not a special point. Here I use camera's(android.graphics.Camera) function rotateY to let it to rotate by Y axle. Well, it seems do not act as I expected. And the animation defined by myself works well when a widget rotates with it(just like example Rotate3dAnimation). Can you tell me how to let it to rotate like a view rotating when it's used in activity? My email is [email protected]. thanks

                                                                     StarHan