I have an animation:
Animation fadeOut = new AlphaAnimation(1, 0);
fadeOut.setInterpolator(new DecelerateInterpolator());
fadeOut.setDuration(350);
myView.startAnimation(fadeOut);
I am trying to get it Alpha durring Animation as such:
System.out.println(myView.getAlpha());
However, it always returns “1.0” throughout the animation. How can I get the actual alpha value myViewduring the animation process?
source
share