how fo I Terminate TranslateAnimation earlier and immediately start a FrameAnimation at the position where the TranslateAnimation has been terminated

by zci_zr » Wed, 21 Jul 2010 04:52:53 GMT

Sponsored Links

Thanks for reading my post.

How can I terminate TranslateAnimation before its reach the
destination and immediately start a FrameAnimation at the position of
which the TranslateAnimation has been terminate.

What I am trying to do is to apply a translate animation on textview,
and make TextView more across the screen. I can click on screen (at
any where but not necessarily on TextView) any time to terminate the
translate animation earlier and start a frame animation at the
position where the translate animation has been terminated, e.g
loading a fireworks frame animation.

I am new to android, can some one help please.

Many thanks


Other Threads

1. TCP version for Android


Which TCP version is used in Android kernel? Westwood ?

Thanks a lot.


2. Rounded Rectangle with one side missing

I am trying to find a way to create a rounded rectangle with one side
missing.  Something like this :


Currently, I am using a 9 patch, which works pretty well, but the
requirements just changed to allowing user changeable colors.   I've
spent the last few days trying to figure out a way to make this
happen, and have not managed to come up with a solution.

I found a post about changing the colors of an image in code, but it
won't work because I need the image to scale correctly when text is
written on it.  (Which is why I am currently using a 9-patch.)

Other posts talk about using shape XML, which gets me really close.
I can generate the tab the way I want, but I can't seem to find a way
to remove the line on the right side of the shape.

I have also looked at using the Path() class, but it seems that you
have to have a path that is fully enclosed.  This would work, except I
need a stroked line border with the area in the middle filled.   Which
basically puts me in the same situation as using the shape XML.

Has anyone done anything like this?  Or have any ideas that might help
me along?



3. Building kernel and loading with Emulator

4. how to make a boot-disk?

5. Conflict in to MapController between Zoom Level and AnimateTo ?

6. Invalidating a Canvas view that is part of setContentView()

7. Porting of OpenGL on powerpc board