Android Question Animation Plus 2.3 Flickers

Scantech

Well-Known Member
Licensed User
Longtime User
Version 2.3 is having problems with translate. When Hide is used, the panel will flicker at the end of animation.

B4X:
Sub AnimateViewShowTranslate(Comp As View)
    Animate.InitializeTranslate("AnimationViews", 0, Activity.Height, 0, 0)
    Animation = True
    Animate.Duration = 500
    Animate.Start(Comp)
    Comp.Visible = True

End Sub
Sub AnimateViewHideTranslate(Comp As View)
    Animate.InitializeTranslate("AnimationViews", 0, 0, 0, Activity.Height)
    Animation = True
    Animate.Duration = 500
    Comp.Visible = False
    Animate.Start(Comp)

End Sub

Android 7.0
Samsung S6
B4A 7.3
 
Top