开发者

How can I animate individual characters in a TextView?

开发者 https://www.devze.com 2023-01-26 08:17 出处:网络
I\'m trying to take the text displayed in a TextView and apply tweening to individual charact开发者_如何学Goers.I can\'t think of how to accomplish this without having a separate view for each charact

I'm trying to take the text displayed in a TextView and apply tweening to individual charact开发者_如何学Goers. I can't think of how to accomplish this without having a separate view for each character. I hope that's not the only way to solve this problem, because it just seems incredibly messy.


create your own custom view, and use that. you can animate them in every way you like, using canvas you have given in onDraw() method.

this may help: http://www.apleben.com/2011/01/custom-android-view-the-definition/

0

精彩评论

暂无评论...
验证码 换一张
取 消