Animation won't go although no errors are shown

TrueBypass

Member
Licensed User
Longtime User
Hello everyone.
I am trying to use the Animation library in order to animate an ImageView.
There are no errors when I compile or run the app on my phone, yet the view won't rotate.
The ImageView is seen perfectly fine, but it just won't rotate.
My code is the following:
B4X:
Sub Globals
   'These global variables will be redeclared each time the activity is created.
   'These variables can only be accessed from this module.
   Activity.LoadLayout ("Main.bal")
   Dim Ball As ImageView
   Dim Ani As Animation
   Ball.Initialize ("")
   Ani.InitializeRotate ("", 0, 90)
   Ani.Duration = 1000
   Ani.Start (Ball)
End Sub
I would appreciate your help, thanks.

P.S. I don't know if it matters, but I use my phone through ADB in order to run the designer.
 
Top