victorbrndls / BlogProjects

Repository to store all the code I use on my articles
41 stars 15 forks source link

[MarqueeText] How to make a small space between animations? #1

Closed ArnoldVadiyants closed 2 years ago

ArnoldVadiyants commented 2 years ago

Can you please clarify, Currently the second iteration is started only once the first is completely disappeared. How can we show the secondary text immediately after the main one with some space?

ArnoldVadiyants commented 2 years ago

Fixed by changing the val spacing = constraints.maxWidth * 2 / 3 to the exact space value I need