1

I'm looking for a way to replicate the behaviour of text animation in the iOS Secret app to Android. the effect is describe in the following question:

How to Make a Secret iOS App Text Animation

And you could also see it implemented for iOS here:

https://github.com/rcmcastro/RQShineLabel

Does anyone familiar with a similar library for the Android framework? Or know how to implement same effect in Android?

halfer
  • 19,824
  • 17
  • 99
  • 186
Emil Adz
  • 40,709
  • 36
  • 140
  • 187

2 Answers2

2

Found this library that allows to add different animations to a TextView and did the trick for me:

https://github.com/hanks-zyh/HTextView

This is the staff you can add using it:

enter image description here

All you have to do to animate the text is: Choose the type of the animation you want to use:

mHTextView.setAnimateType(HTextViewType.EVAPORATE);

And run an animation on newly added text:

mHTextView.animateText("String text");
Community
  • 1
  • 1
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
2

Try this but this lib is not available with gradle https://github.com/matthewrkula/SecretTextView

Vikram
  • 1,072
  • 2
  • 20
  • 33
  • Thanks for the link, don't know why I didn't find it then. Please copy the relevant code parts from the readme file into your answer for future SO users. – Emil Adz Oct 04 '16 at 12:22