Flavio SOuza Member Licensed User Longtime User Aug 9, 2018 #1 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 Aug 9, 2018 #2 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
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)
Flavio SOuza Member Licensed User Longtime User Aug 9, 2018 #3 The Animation worked, but wanted to leave it going back and forth from right to left without stopping. Upvote 0
The Animation worked, but wanted to leave it going back and forth from right to left without stopping.
Arthur Ávila Member Licensed User Aug 9, 2018 #4 you can use B4X: a1.RepeatCount = -1 a1.RepeatMode=a1.REPEAT_REVERSE Upvote 0
Flavio SOuza Member Licensed User Longtime User Aug 9, 2018 #5 It worked, thank you very much. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 10, 2018 #6 Check ScrollingLabel view: https://www.b4x.com/android/forum/threads/b4x-xui-scrolling-label.85516/#content Upvote 0
Check ScrollingLabel view: https://www.b4x.com/android/forum/threads/b4x-xui-scrolling-label.85516/#content
Flavio SOuza Member Licensed User Longtime User Aug 10, 2018 #7 Whoa! Very good, thank you Erel Upvote 0