Animation on a view doesn't 'stick' in reality

by Romain Guy » Fri, 10 Apr 2009 07:41:04 GMT


Sponsored Links
 > Any way to do this without setting up an animation completion handler

Yes and no. No because you still need to hide the view yourself. Yes
because you can just do this:

myView.startAnimation(myAnimation);
myView.setVisibility(View.INVISIBLE); // or GONE

Android will hide the View and run the animation but still draw the
View as long as the animation is running.

-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Slow Gmail uploads?

Just wondering if anybody else notices what seem like slow email
uploads from gmail app in Android?
For example if I have a photo for upload which averages about 500kb it
seems to take several minutes to clear
from the sent folder over 3g?

--~--~---------~--~----~------------~-------~--~----~

2. onTouchEvent(MotionEvent me) not called initially

My onTouchEvent(MotionEvent me) does not get called until after I
slide my phone open. Also, after I slide it open, when I close it
again, it works fine too...

Can anyone help me?
--~--~---------~--~----~------------~-------~--~----~

3. Most wanted features after 1.5

4. Context Menu calling Activity.onMenuItemSelected() instead of Activity.onContextMenuItemSelected()

5. The method which operates android sample(Snake) with eclipse.

6. Whys Brazilian developer companies are not allowed to register as developer ?

7. Two level of activityGroup and DialogBox