Anyone knows any efficient method of perform an animation that what is has to do is to display a text, character by character? Like:
T
Th
Thi
This
This i
This is
…
And so on.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This may not be the most elegant solution, but the simplest is probably a quick subclass of
TextViewwith aHandlerthat updates the text every so often until the complete sequence is displayed:You can then use this in an Activity like so:
If you want some animation effects with each letter added, perhaps look at subclassing
TextSwitcherinstead.