How can I get the alpha/opacity of a View
after I've animated it?
My fadeIn()
is below - fadeOut()
is the same with the endpoints switched.
public void fadeIn(View view) {
Animation animation = new AlphaAnimation(0.0f, 1.0f);
animation.setDuration(1000);
animation.setFillAfter(true);
view.startAnimation(animation);
}