Lottie Animations | animations made simple | Android

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ส.ค. 2024
  • This video is about a library called Lottie by Airbnb, this is used to create beautiful animations in android with the least amount of code.
    🚀Deploy NodeJs app: zeet.co/r/your...
    (One FREE project forever 😘)
    In 60 seconds • How to Deploy a NodeJs...
    FREE $100 credit @Digital Ocean: m.do.co/c/3208...
    Patreon: / trulymittal
    Subscribe: www.youtube.co...
    ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
    Github(Tutorial): github.com/tru...
    Lottie (Docs): airbnb.io/lott...
    Lottie (dependency): airbnb.io/lott...
    Lottiefiles: lottiefiles.com/
    ---------------
    What I use
    ---------------
    Mouse: amzn.to/2O9RJtu
    Keyboard: amzn.to/2qxajCU
    Keyboard 2: amzn.to/2XDWH4X
    Monitor: amzn.to/2pDg7dH
    Processor: amzn.to/347WWIb
    RAM: amzn.to/2QEkUqw
    Graphics: amzn.to/33aBrF4
    Microphone: amzn.to/2DabdI9
    #yoursTruly #lottie #animation #airbnb #programming #tutorial #howto

ความคิดเห็น • 50

  • @Wang_dadi
    @Wang_dadi 3 ปีที่แล้ว +2

    This is a very helpful video, congratulations friend.

  • @harshitsrivastava9903
    @harshitsrivastava9903 3 ปีที่แล้ว +1

    Simple and best

  • @kifkifa56
    @kifkifa56 4 ปีที่แล้ว +4

    Who the hell has disliked this video????

  • @gauravkumar-bs3pf
    @gauravkumar-bs3pf 3 ปีที่แล้ว +1

    Please create a full tutorial from XD to AE and to Lottie Animation

  • @hissabis2068
    @hissabis2068 3 ปีที่แล้ว +1

    Thank you for this good and helpful video.

  • @computerhacks3816
    @computerhacks3816 3 ปีที่แล้ว +1

    thanks a lot Dear.

  • @GarejaKirit
    @GarejaKirit 3 ปีที่แล้ว +1

    It's showing errro in rawResorce attribute
    Can not select json file
    Only string accept

  • @orhanavan7222
    @orhanavan7222 4 ปีที่แล้ว +1

    Thanks for good explanation 🙏

  • @zohaibmunir7231
    @zohaibmunir7231 2 ปีที่แล้ว

    Sir iam getting an error.
    You must set an images folder before loading an image.
    Please help me.

  • @gamercumcoder2496
    @gamercumcoder2496 3 ปีที่แล้ว +1

    Thank-you so much bro!!

  • @Ameya890
    @Ameya890 3 ปีที่แล้ว

    Great Video!

  • @omarredani2919
    @omarredani2919 4 ปีที่แล้ว +3

    what kind of theme are you using in android studio please

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว +2

      Google developers theme and font Roboto

  • @sateeshchikkalagi904
    @sateeshchikkalagi904 4 ปีที่แล้ว +2

    Thank you so much

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Subscribe like share

  • @amitghosh3938
    @amitghosh3938 3 ปีที่แล้ว

    sir how to strech it to the full screen, it's not happening by match parent height and width

  • @dennisgonzales9521
    @dennisgonzales9521 4 ปีที่แล้ว +1

    Thanks!

  • @AlgeriaHere
    @AlgeriaHere 4 ปีที่แล้ว

    such a great tutorial mate , bu t i m not sure if you noticed that background of lottieanimationview is very white actually that it is not really going with the white color of the normal layout , is there any way to change lottie animationview background color , i tried background but didnt work , thank you , or background should be change from lottie files

    • @averstudio
      @averstudio 4 ปีที่แล้ว

      Does it have a copyright infringement ?? If i use these animations in my app to upload on play store

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      You can use freely No copyright issues

  • @averstudio
    @averstudio 4 ปีที่แล้ว

    Does it have a copyright infringement ?? If i use these animations in my app to upload on play store

  • @giorgospapadopoulos2578
    @giorgospapadopoulos2578 4 ปีที่แล้ว +1

    code for playing animation only one time ?
    thanks for the helpful tutorial btw

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Set looping false

    • @averstudio
      @averstudio 4 ปีที่แล้ว

      Does it have a copyright infringement ?? If i use these animations in my app to upload on play store

  • @areview3655
    @areview3655 5 ปีที่แล้ว +1

    How to edit text in lottie animations?

    • @areview3655
      @areview3655 5 ปีที่แล้ว

      in this for example lottiefiles.com/2160-get-started-button#

    • @mafiacodes
      @mafiacodes  5 ปีที่แล้ว +1

      Well you can’t, if u want custom text then you need to create the animation in full, as in create vector file in sketch or xd, then animate inside after effects and then export the json file using bodymovin plugin.

    • @areview3655
      @areview3655 5 ปีที่แล้ว

      @@mafiacodes Is it possible to make a simple shake animation using only android studio?

    • @mafiacodes
      @mafiacodes  5 ปีที่แล้ว +2

      Yeah its pretty easy, i got u a stackoverflow link stackoverflow.com/questions/9448732/shaking-wobble-view-animation-in-android/9449590

    • @mafiacodes
      @mafiacodes  5 ปีที่แล้ว +1

      Watch out the new video on Keyframe Animations with ConstraintLayout and ConstraintSet th-cam.com/video/Gh3KsNGZmaE/w-d-xo.html

  • @bysalyanman
    @bysalyanman 4 ปีที่แล้ว

    Great tutorial!! Do you know how to speed up the animation like 1.5x 2x in splash screen? I arranged as 1.5x on the website and download it but it is same speed like 1x

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      might be this would help from the Lottie docs: airbnb.io/lottie/#/android?id=custom-animators

  • @asifiqbal1261
    @asifiqbal1261 5 ปีที่แล้ว +2

    how can i use logic on it?

  • @AbdulSamad-yu1zn
    @AbdulSamad-yu1zn 4 ปีที่แล้ว

    when i implimented it my app crashes.. java.lang.IllegalStateException: Unable to parse composition
    Caused by: com.airbnb.lottie.parser.moshi.JsonEncodingException: Use JsonReader.setLenient(true) to accept malformed JSON at path $

    • @willymontero1213
      @willymontero1213 3 ปีที่แล้ว

      I have the same error, i just use the url from the animation and work for me.

  • @viperradiusbot8496
    @viperradiusbot8496 3 ปีที่แล้ว

    how can i set time for animation sir?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      you cannot, its duration in provided in the Lottie file, or u can create your own lotties.

    • @viperradiusbot8496
      @viperradiusbot8496 3 ปีที่แล้ว

      @@mafiacodes Aight thanks sir!

  • @VideoDiaries88
    @VideoDiaries88 4 ปีที่แล้ว

    hello, sir is that free from copyright ??

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Yup open source, they have paid lotties also incase you want. And u can also read the licence.

    • @VideoDiaries88
      @VideoDiaries88 4 ปีที่แล้ว +1

      @@mafiacodes so can i publishe the app in play store without worrying??
      And thanks for your videos ♥️🔥

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Yes go ahead

  • @gopalfirebase7347
    @gopalfirebase7347 4 ปีที่แล้ว

    How to open any activity after this animation?

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      the same way you open any activity

    • @gopalfirebase7347
      @gopalfirebase7347 4 ปีที่แล้ว

      @@mafiacodes didn't get , could you please tell?

  • @amitghosh3938
    @amitghosh3938 4 ปีที่แล้ว

    are these animations free?

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Yes

    • @amitghosh3938
      @amitghosh3938 4 ปีที่แล้ว +2

      @@mafiacodes Thankyou Very much sir Your channel is among top 3 for android developers according to me