Skip to content
Advertisement

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:

Advertisement