Android Question Leave a text in motion?

Flavio SOuza

Member
Licensed User
Longtime User
Is it possible to leave a text of a label in motion? Like the one <marquee>in the HTML?</marquee>
 

Arthur Ávila

Member
Licensed User
I guess you can use Animation lib

B4X:
Private a As Animation
Private Label1 As Label

a.InitializeTranslate("Animation",0,0,0,100dip)
a.Duration=5000
a.start(Label1)

or something like (with a timer maybe)

B4X:
Label1.SetLayoutAnimated(5000,0,0,0,100dip)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…