I’m using Transitions-Everywhere for my app, and I wonder if I can set the transition speed/time of the transitions.. I have something like this: In short, I want the transition to be slower than the default, but I just can’t figure out how to set the speed of the transition! Answer You can set the duration on the Transition you
Tag: android-animation
How to disable button while AlphaAnimation running
I want to disable click on button when the animation running. the code is below: So i want to cant click the button until animation done. Answer I normally accomplish something like this is using an AnimationListener. It allows you to run code at various stages of the animation. This code is untested, but the way it should look is:
Cannot start this animator on a detached view! reveal effect
I’m trying to create the reveal effect in my application but without success. What i want is reveal a cardview when i open a fragment. What i tried so far is: and in the onCreateView i started the method: this is the cardview: and the logcat: Checking, seems that getWidth() and getHeight() returns 0. But i don’t know if it’s