when the button is clicked, i want it to move down by 100 pixels and fade out.... i want it all to happen in 2 seconds.
AnimationSet myAnimationSet = new AnimationSet(true); myAnimationSet.setDuration(2000); myAnimationSet.addAnimation(new AlphaAnimation(1.0f, 0.0f)); myAnimationSet.addAnimation(new TranslateAnimation(0, 0, 0, 100)); System.out.println("before starting animation); v.startAnimation(myAnimationSet); System.out.println("after starting animation); both the *System.out.println* messages appear when this code is executed. But on the device, the buttons just disappear in a split second and come back again without having any of the fade out translation animations -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en