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?