I am new to Animation in Android and searched a lot about Move up and Down an ImageView, but there are lot tuts about move left to right. I can't find a tut to move up and Down. Can please anyone tell me how can I achieve this? I am adding some code here, that I have learned from YouTube to move an image left to right(imga is ImageView) -
Animation img = new TranslateAnimation(Animation.ABSOLUTE, 150, Animation.ABSOLUTE, Animation.ABSOLUTE);
img.setDuration(3000);
img.setFillAfter(true);
imga.startAnimation(img);