android-ripple-background
android-ripple-background copied to clipboard
After RippleBackground.stopRippleAnimation(), the rippleView still visible
In some phone, after RippleBackground.stopRippleAnimation(), the rippleView still visible.
I'm experiencing this issue on Galaxy S8+ with Android 8.0 and on OnePlus 5t 8.0/8.1
I had same problem with Oreo. I temporary fixed it like this:
rippleBackground.startRippleAnimation(); rippleBackground.stopRippleAnimation();
But it's not perfect becuase it has a delay.
@LordArma I've solved it by changing visibility
rippleBackground.startRippleAnimation();
rippleBackground.setVisibility(View.GONE);