Is it possible to perform animation when changing orientation? I have two layout for portrait and landscape. I want to perform a custom animation when changing orientation. If it's possible, how can I do that? In addition, when the screen change orientation, the children view rotate independently. For example, the textview rotates from left to right and the button rotate from right to left
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I tried to use to rotate layout by using this sugesstion. It's just simulation, and the orientation is seemed to have animation when changing. As Jansel mentioned, there not way to change orientation change animation. Thus, I just try to make something to everything look like that.
回答2:
Sorry, there not way to change orientation change animation, because this behavior is not handle by your app, is handled by Window Manager that take your screen and rebuilt your view.
回答3:
Android Developer SiteSee this can help you some what.