Tizen Developers

Menu
Sites
Language
Animation problem

Hello,

I'm using this kind of code to animate panels in my app:

ControlAnimator* controlAnimator = control->GetControlAnimator();
controlAnimator->StopAllAnimations();

FloatAnimation alphaAnimation = FloatAnimation(startAlpha, stopAlpha, miliseconds, ANIMATION_INTERPOLATOR_LINEAR);
controlAnimator->StartUserAnimation(ANIMATION_TARGET_ALPHA, alphaAnimation);

But there is a problem. When I'm pressing button fast over a dozen times to show/hide panel with that animation and i'm rotating my device (so orientation changes). I'm getting : 

 

Any ideas except not using animations at all?

Edited on 18 03, 2014

Responses

2 Replies
smith wil
It looks to be a bug, log a bug report@https://bugs.tizen.org/jira/secure/Dashboard.jspa
youngsik yoon
i think you should lock device orientation using GetOrientationStatus() and SetOrientation during animation.