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

Erel

B4X founder
Staff member
Licensed User
Longtime User
scrolling-label-gif.61087


Check ScrollingLabel view: https://www.b4x.com/android/forum/threads/b4x-xui-scrolling-label.85516/#content
 
Upvote 0
Top