Hi team
i am having a grid view with 2 coloums and each item in grid view having
one image and 2 textview below the image.
i have added one button over each image and after clicking on button i want
that image should scale and move down to bottom tab.
like it should appear image drop down from its position in side one button
of tabview.
i am able to add animation on image using this code
AnimationSet set = new AnimationSet(true);
Animation trAnimation = new TranslateAnimation(0, 160,0, 100);
trAnimation.setDuration(500);
set.addAnimation(trAnimation);
Animation scaleAnimation = AnimationUtils.loadAnimation(this, R.anim.
anim_scale);
set.addAnimation(scaleAnimation);
set.setFillEnabled(true) ;
set.setFillAfter(true);
view.setAlpha(100) ;
view.startAnimation(set);
but problem is that image is not coming to bottom of screen it is going
inside of grid item where it is placed . any body knows how to move this
image to bottom.
thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.