类似的效果
参考资料: https://blog.csdn.net/u011150924/article/details/60867499
https://www.jianshu.com/p/3c68aea3b392
第三方框架 https://github.com/sfsheng0322/MarqueeView