Code Monkey home page Code Monkey logo

lottie-animation's Introduction

Lottie-Animation

Animation using Lottie

Select an Animation Go to https://lottiefiles.com/ and select any animation of your choice. For this example, I’m going to choose 3 different animations:- https://lottiefiles.com/3269-thumbup, https://lottiefiles.com/434-gradient-animated-background, and https://lottiefiles.com/440-stop-go-radio-button Download the animations and rename them.. For example, the ones used here were renamed to “thumb_up.json”, “gradient_bg.json” and “toggle_switch.json” respectively. Fire up Android Studio Create a new project.

image

  1. Select Empty Activity.
  2. Name your application. In this example, I’ve decided to go with LottiePlayground. Please ensure that the “Use AndroidX artifacts” feature has been enabled. Click on Finish.
  3. Once the project is completely loaded, go to app level Gradle file and under dependencies, add implementation ‘com.airbnb.android:lottie:$lottieVersion’ At the time of writing the latest version of Lottie is ‘3.0.0-beta1’.
  4. Sync the project Gradle files.
  5. Create a folder “assets” under app > src > main and paste the downloaded animations in it.

16406-colorfull-loader

lottie-animation's People

Contributors

ganeshkavhar avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.