androidanimationtextapp-secret

How to make a Secret iOS App text animation in Android?


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?


Solution

  • 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");