Add a typewriter animation to a countdown or score display in an Android app so each number change feels lively.
Replace a plain Android TextView with HTextView in your layout to show a rainbow color cycle on a highlighted label.
Use the Evaporate style so old text drifts upward and new text fades in when a user changes a setting.
Add only the specific animation module you need via Gradle without including the whole library.
HTextView is an Android library that adds animated transitions to text labels. When the text in a view changes, rather than simply swapping one string for another, HTextView plays a short visual effect to make the change feel more polished. The library offers seven built-in animation styles. Scale makes characters grow or shrink into place. Evaporate makes old letters drift upward and fade out while new ones appear. Fall drops the outgoing letters downward. Line draws a horizontal line across the text as it changes. Typer simulates someone typing the text one character at a time. Rainbow cycles colors across the letters continuously. Fade makes the old text dissolve and the new text appear gradually. Each animation style is its own separate module, so you only add the ones your app actually uses rather than pulling in the entire library. The modules are published on Maven and added to an Android project through Gradle dependencies. In the layout file, you replace a standard Android TextView element with the corresponding HTextView component, then set a few optional attributes like animation speed, color, or line width directly in XML. The library is licensed under the Apache 2.0 open-source license. A React Native binding exists as a separate third-party package for developers building cross-platform apps. The README notes an iOS library called LTMorphingLabel and a Flutter equivalent as related projects for teams targeting those platforms.
← hanks-zyh on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.