Android Question I want the text to be shown when the animation is finished.

khosrwb

Active Member
Licensed User
Longtime User
I want the text to be shown when the animation is finished.
What should I do?
 

Attachments

  • AN1.zip
    7 KB · Views: 107

LucaMs

Expert
Licensed User
Longtime User
You created a wrong event routine, or more precisely, you used a wrong event name:
B4X:
Sub myAnimation_AnimationEnd


The event name is what you have set in the initialization of the animation:
B4X:
 an1.InitializeScaleCenter("btn",1.35,1.35,0,0,Button1)


Then it is "btn" and then the name of the event routine should be:
B4X:
Sub btn_AnimationEnd


or you should set:
B4X:
 an1.InitializeScaleCenter("myAnimation",1.35,1.35,0,0,Button1)
 
Upvote 0
Top