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 mentioned in some resources like this but none were successful.
Is there any solution?
I think there are two "semi"-solutions right now:
XML:
android:scaleX="5"
android:scaleY="5"
Programmatically:
view.setScaleX(5f);
view.setScaleY(5f);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With