开发者

Show individual lines of text sequentially from the textView in android

i'm creating a transition for a text view in android. onswipe the current textView is moved and the next textview is shown,with a bounce animation.

i'm presently getting the entire textView at once, rather i require the text to appear line after lin开发者_运维知识库e. Similar to how is happens in MS powerpoint, where very bullet points appear one after the other.

Can anyone pls tell how this can be done ?

Regards, Vasudev


Use a Vertical LinearLayout that contains a textview for each line of text

Use AnimationFactory which has a function inFromLeft that you can use before setVisibility(View.VISIBLE) of each textview to animate them.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜