#287 · Primary category: Video & Animation

TextPathView

A View with text path animation!

Project last updated:04/14/19

GitHub Stars

1.9K

Forks

212

Contributors

2

License

MIT

Why we included this project

For Android developers who want a hand-drawn reveal effect for titles or loading states, TextPathView converts any string into an animated stroke-by-stroke trace of its glyphs. It works in two modes: a synchronous view that draws each stroke in sequence, and an asynchronous one that animates all strokes at once. You can also set the animation start and end positions, plug in custom path calculators for effects like blinking or orbiting, and choose whether the filled shape stays after the drawing finishes. If you need tight control, a seek bar can drive the progress manually. Just be aware it targets the classic Android View API and the artifact was published to JCenter, which has been retired, so you will likely want to build from source or vendor the code instead of pulling the published dependency.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category