question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Animation stops abruptly

See original GitHub issue

@MatteoBattilana I have successfully implemented this library in my app. And its working flawlessly. But animation of ‘WeatherView’ stops abruptly when i try to take the screenshot.

Layout file:

               <FrameLayout
                android:id="@+id/containerImagePreview"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_gravity="center"
                android:background="@color/yellow_light">


                <!--Preview imageView-->
                <android.support.v7.widget.AppCompatImageView
                    android:id="@+id/image_preview"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:adjustViewBounds="true"
                    android:scaleType="fitXY"
                    tools:src="@tools:sample/avatars" />

                <!--Snowfall and rain filter-->
                <com.github.matteobattilana.weather.WeatherView
                    android:id="@+id/whether_view"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:visibility="gone" />

            </FrameLayout>`

do you know this is happening? Any guide and direction will be helpful. Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MatteoBattilanacommented, Apr 28, 2020

@magneticflux- The 1.1.2 confetti library release contains the pull request you opened time ago. Can you merge it and add the missing code?

0reactions
aboutgauravcommented, Sep 26, 2018

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why CSS animations are stopped abruptly? - Stack Overflow
On firing any event for the first time, animation is smooth. But after that both events are stopped abruptly.
Read more >
CSS animation stops when mouse leaves element - SitePoint
However, when the mouse leaves the box before the animation has finished, it suddenly stops/jumps. Is there a way to the animation finish ......
Read more >
Animator stops halfway. - Unity Forum
With this setting, if you set the speed to 999, the animator stops. If Exit Time is set to 1.0, it will not...
Read more >
Smoothly Reverting CSS Animations - Pragmatic Pineapple
It was all fine, and it made the sun spin using CSS rotate, but the rotation would suddenly reset once I moved the...
Read more >
[Solved]-Fade Animation Abruptly Stops - appsloveworld
Coding example for the question Fade Animation Abruptly Stops. ... you're asking the processor to do too many animations in succession and/or the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found