Fix NPE when set ScaleType in xml. (#1433)

Fixes #1432
1 file changed
tree: 70d825dfed18246333e3e7525a9e1896e0a08a62
  1. .github/
  2. .idea/
  3. After Effects Samples/
  4. gifs/
  5. gradle/
  6. issue-repro/
  7. lottie/
  8. LottieSample/
  9. .gitignore
  10. .travis.yml
  11. build.gradle
  12. CHANGELOG.md
  13. CODE_OF_CONDUCT.md
  14. credentials.tar.gz
  15. decrypt.sh
  16. deploy_snapshot.sh
  17. DESIGNER_NOTES.md
  18. gcloud_run.sh
  19. gcloud_setup.sh
  20. gradle.properties
  21. gradlew
  22. gradlew.bat
  23. LICENSE
  24. post_pr_comment.js
  25. README.md
  26. RELEASE.md
  27. secrets.tar.enc
  28. settings.gradle
  29. sign.sh
  30. version.sh
README.md

Lottie for Android, iOS, React Native, Web, and Windows

Build Status

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000:

View documentation, FAQ, help, examples, and more at airbnb.io/lottie

Example1

Example2

Example3

Community

Example4

Download

Gradle is the only supported build configuration, so just add the dependency to your project build.gradle file:

dependencies {
  implementation 'com.airbnb.android:lottie:$lottieVersion'
}

The latest Lottie version is: lottieVersion

Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.