Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexmercerind/moving-letters-android
Text animation library for Jetpack Compose.
https://github.com/alexmercerind/moving-letters-android
android android-library animations jetpack-compose
Last synced: about 1 month ago
JSON representation
Text animation library for Jetpack Compose.
- Host: GitHub
- URL: https://github.com/alexmercerind/moving-letters-android
- Owner: alexmercerind
- License: mit
- Created: 2023-12-11T12:36:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T16:28:25.000Z (7 months ago)
- Last Synced: 2024-12-16T20:13:48.436Z (about 2 months ago)
- Topics: android, android-library, animations, jetpack-compose
- Language: Kotlin
- Homepage:
- Size: 124 KB
- Stars: 77
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [moving-letters-android](https://github.com/alexmercerind/moving-letters-android)
#### Text animation library for Android (Jetpack Compose).
## Guide
Following text animations are available:
#### ScaleInAnimatedText
#### ScaleOutAnimatedText
#### FadeAnimatedText
#### JumpAnimatedText
#### RotateAnimatedText
#### Programmatic API
You may use `AnimatedTextState` as follows to control the animation programmatically:
```kt
val state = rememberAnimatedTextState()XYZAnimatedText(
state = state,
text = "I like Jetpack Compose"
)state.stop()
state.pause()
state.start()
state.resume()
```#### Example Application
You may download the [APK](https://github.com/alexmercerind/moving-letters-android/files/13639901/app-release.zip) quick trial.
The [source-code of the example application](https://github.com/alexmercerind/moving-letters-android/tree/main/app/src/main/java/com/alexmercerind/example) provides more details.
## Inspiration
[Moving Letters for Web / JavaScript](https://tobiasahlin.com/moving-letters/) by [@tobiasahlin](https://twitter.com/tobiasahlin).
I wanted to implement it in Jetpack Compose!
## License
Copyright © 2023 & onwards, Hitesh Kumar Saini.
This project & the work under this repository is governed by MIT license that can be found in the [LICENSE](./LICENSE) file.