Disabling animation clipping
See original GitHub issueHi team,
we have an animation which seems to be clipping at the top for some images. I wonder how we can disable clipping and draw out of the rectangle.
My IOS peer is using animationView.clipsToBounds = false
which does work pretty well but I am struggling with the clipping in android.
I have tried android:scaleType="centerInside"
and android:scaleType="centerCrop"
on lottieAnimationView and for parent ConstraintLayout:
android:clipChildren="false"
android:clipToPadding="false"
Is there way how I can avoid the clipping and render out of bounds?
Screenshots
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:6
Top Results From Across the Web
Disabling clipping during animation - Esoteric Software
Thanks for the clipping feature, it works great! I'm just wondering if there is a way to turn it on and off during...
Read more >unity - How to disable animation root motion
RootT" and expand it. Assuming the model moves in forward Z, right click on "RootT. Z" and click "Remove property."
Read more >Animation bug while disabling and re enabling. - Unity Answers
Hello i'm using the animator component but when I disable it and re enable while the animation is playing the object stays where...
Read more >Remove or turn off effects in Final Cut Pro - Apple Support
Select one or more clips with an effect in the Final Cut Pro timeline. Do one of the following: Choose Clip > Show...
Read more >Maya Creative Help | Enable or disable clips | Autodesk
You can disable a clip to stop it from playing during the playback of its character's animation in Trax. If you later decide...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Pavel87 It wasn’t really feasible until https://github.com/airbnb/lottie-android/pull/1952 landed. With this change, when using hardware acceleration, it might be more feasible.
I have same problem. Does any help to fix?