开发者

Show individual lines of text sequentially from the textView in android

开发者 https://www.devze.com 2023-04-02 03:56 出处:网络
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 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

精彩评论

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