Android realizes the effect of graphic vertical running light

Recently, in the maintenance of old projects, there is one place that needs to be modified, that is, the problem of vertical running lights. The previous vertical running lights only had text running lights, and the new version needs to be added.

Marqueeview was used before. After looking at the source code, it only supports text, so I changed the source code of the original author.

The name of the previous author of the marqueeview class

Original implementation effect:

Only textview is supported here, and then I changed it

Effect after modification:

That's it

Source address: mydemo

The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>