Alpha Animation Not Working
Pretty simple: I add a dynamic button on screen and I try to fade it out after adding, but the animation never plays. I tried adding it later when it is already rendered on the scr
Solution 1:
Try this:
btn.setAlpha(0f);
btn.animate().alpha(1).setDuration(1000);
Solution 2:
This answer may explain why you're getting such strange behavior if you've set the alpha to 0 in xml.
Post a Comment for "Alpha Animation Not Working"