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.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

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. which is better to use to avoid mem leaks==> getbasecontext or getApplicationcontext

getApplicationContext ()
Since: API Level

Return the context of the single, global Application object of the current

getBaseContext ()
Since: API Level

   - the base context as set by the constructor or setBaseContext

Since applicationcontext is global application object,

To avoid objects retained in memory after activity is closed (assuming this
application has lots of activities), its better to use getbasecontext
Is my understanding right.?

Thanks for all your inputs.


2. How to disable home and other buttons so as to persist an app?


Thanks Mr Romain Guy, for the information.

@Mike dg : The requirement is that one app has to be loaded at startup which
displays a browser with a specified URL. And one of the requirement is that
whatever buttons the user presses or clicks, the browser shouldn't exit. The
browser with the specified URL should be the only app that the user has
access to.

Since the 'Home' button on being pressed, exists the application, the above
requirement can't be implemented.

Ashok Jeevan
+91 9895401278

> > 

3. Multi Touch - Does anyone know how it works

4. Flash to JC4

5. Dibutuhkan Blackberry, Brew, Android, Iphone dan/atau J2ME Developer

6. Flash on Nexus kereeennn

7. japri : wta blitz Yahoo Messenger :-)