Hey,
I was able to get the animation to work on the emulator -- however my problem is that it animates for a second, but then then goes back to its original posistion right after it finishes animating. How can I stop this for happening.
This is how I animate my objects:
private void doAnimations() {
logo.setVisibility(View.INVISIBLE);
logo.setBackgroundDrawable(null);
logo.setMaxHeight((logo.getHeight()/2));
Animation animation = new TranslateAnimation(0, 0, 0, -200);
usernameEdit.startAnimation(animation);
}
Any help is appreciated. Thanks.