我来举个动画效果,当我改变屏幕的方向从纵向到横向,反之亦然。我怎么能去这样做。
I have to give an animation effect when i change the orientation of screen from Portrait to landscape and vice versa. How can i go about doing this.
任何帮助将是AP preciated。谢谢!
Any help would be appreciated. Thanks!
使用活动overridePendingTransition(INT enterAnim,诠释exitAnim)在你的onCreate()方法。 和你的活动不应该有安卓configChanges =方向清单中的标签,否则在OnCreate不会被要求方向变化...希望这会帮助你......我从你得到了
use overridePendingTransition (int enterAnim, int exitAnim) in your onCreate() method of activity. and your activity should not having android:configChanges="orientation" tag in manifest, otherwise oncreate will not be called on orientation change...hope this will help you...what i got from you