lottie Questions

7

Solved

I'm encountering a bug in my Next.js 13 application after installing lottie-react. When I compile my project, it completes successfully, but I get a ReferenceError stating that document is not defi...
Shaman asked 6/12, 2023 at 10:41

7

So, I have the following json(it is an animation for Lottie). I am trying to find where the color for the animation itself sits, I cannot find it. Any help would be truly appreciated! To see the an...
Fulvia asked 17/12, 2019 at 18:48

3

Solved

In Android View System, We can use animation listener like below to get lottie animation callbacks. playView = LottieAnimationView(this) playView.addAnimatorListener(object : Animator.AnimatorLis...
Grindstone asked 25/6, 2021 at 20:14

4

Solved

I cannot seem to get the colorFilter prop working with my .json file. There are no errors but the colours are clearly not changing. <LottieView style={{ width: 90, height: 90, }} colorFilt...
Matti asked 29/4, 2020 at 11:21

3

Solved

I am using linear gradient from lottie, the code is working fine with ios but in android its not fitting to full screen, there is some kind of padding between gradient and the view. On ios its work...
Dropsonde asked 29/5, 2018 at 21:11

6

I am loading the animation typing indicator from the json file using lottie framework. I want to change the animation of the indicator color. I don't want to change the colour from the json file. W...
Pulvinus asked 9/10, 2019 at 10:45

1

I'm creating a custom map screen using the GoogleMaps api, and want to create map markers using a custom Lottie animation, rather than a static bitmap. Is this possible?
Paquito asked 26/6, 2020 at 17:5

2

Solved

I want to use Lottie in Jetpack Compose. here is my code val logoAnimationComposition by rememberLottieComposition( spec = LottieCompositionSpec.RawRes( resId = R.raw.twitter_logo_motion ) ) val...
Bifoliolate asked 19/3, 2022 at 9:51

6

Solved

As you know we can make a lottie animation by "Adobe After Effect" but I want to know how can I do it by "Photoshop"? Is there any way to convert a GIF to Lottie JSON ?
Fritz asked 9/6, 2020 at 4:33

4

I've received multiple animation files that should be played in sequence using Lottie library What I'm currently trying to do is to reuse same LottieAnimationView and just set next animation when ...
Hacking asked 19/7, 2019 at 5:24

3

Solved

I have the following Lottie animation that plays only once, how can I make it play indefinitely? val composition by rememberLottieComposition(LottieCompositionSpec.RawRes(R.raw.search_animation)) L...
Malvie asked 16/8, 2022 at 9:16

0

I am trying to integrate a LottieAnimationView in an Android project and get an IllegalArgumentException when inflating the xml layout. I am trying to integrate a LottieAnimationView in an Android ...
Arawn asked 12/6, 2023 at 10:35

5

Solved

I am trying to add LottieAnimationView to my xml layout in my project but getting this exception: "java.lang.IllegalStateException: Unable to parse composition". java.lang.IllegalStateExc...
Heaver asked 18/12, 2020 at 16:11

6

Solved

I have a lottie animation file and when I put it in a view it becomes too small because of the file's internal padding. So I have used lottie_scale attribute in xml, and Also LottieComposition as m...
Satsuma asked 14/2, 2019 at 17:32

3

I am using lottie JSON files on my NextJS project to show some of these cool animations. The problem is the lottie JSON files are huge and really decrease the performance of the app. Has anyone fou...
Singularity asked 22/9, 2021 at 11:8

4

Solved

I have a question for the ones of you who have experience using lottie json files. I am not so experienced using lottie so I thought maybe I am missing some obvious knowledge. When I render my anim...
Illiberal asked 27/7, 2018 at 7:52

6

I am using Lottie for animations. The problem is lottie view dimensions are too small. is there a way to customize dimensions in lottie?
Depredation asked 2/4, 2017 at 19:15

2

I have a 95-frame Lottie file and I want to trim the beginning so it starts at the 15 frame mark. It seems like there should be an easy way to do this, but I don't have After Effects. Is there some...
Vociferous asked 22/6, 2021 at 16:30

7

Solved

I'm using Lottie for Android to add some animations in an app. In this app the primary and accent color can be chosen via the settings. I'm using an animation with a transparent background. To make...
Jaeger asked 12/4, 2017 at 17:46

1

I am trying to make a simple game with Xcode 11.2 which contains an animated loop background and a view which shows and changes various animations from several Lottie JSON files in project. When I ...
Trioecious asked 28/11, 2019 at 6:58

2

Im using a lottie animation with Flutter compiled and deployed as a web application. It works well on desktop chrome, but not on android chrome. Does anybody know the problem? (Flutter (Channel sta...
Nacre asked 12/9, 2022 at 10:9

4

Solved

I am facing a problem using Lottie files as an animation. I can not set loop number while after loading it is looping continuously but I want to set fixed loop number. Activity XML <com.airbnb....
Milano asked 18/7, 2019 at 5:48

4

Solved

I added demo animation to the web using lottie, but the playback speed is too fast. How do I get to normal speed? The link below is a problem animation. problem animation link : https://saybgm.gith...
Chloromycetin asked 24/5, 2018 at 2:24

1

I have a lottie animation that I'm using as a loading screen: import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:lottie/lottie.dart'; class Lo...
Rationalize asked 3/10, 2021 at 17:3

3

Solved

Learning React here, and I'm simply trying to display a lottie animation. Seems fairly straight-forward, but I'm having some trouble with the useEffect hook. I'm using the hook to render the animat...
Arbela asked 27/4, 2022 at 15:49

© 2022 - 2024 — McMap. All rights reserved.