That was it. Thanks. On Thu, Aug 11, 2011 at 8:01 AM, Appaholics <[email protected]> wrote: > Try calling invalidate() on the view you are using so that onDraw is called > again. > Thanks > > On Thu, Aug 11, 2011 at 12:17 PM, Stefan Alder <[email protected]> wrote: >> >> I'm trying to slide a custom modal view off the screen with a >> translation animation when the user presses the hardware back button. >> >> I call the panel.setAnimation method within onBackPressed, but while >> the method executes, the animation is not visible. Only until I touch >> the display does it redraw to the final state (with no animation). I >> tried running the animation method via runOnUIThread, but that made no >> difference. Any idea why the animation is not being displayed? >> >> If I use a custom button on the screen to call the animation, it works >> properly. >> >> 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 > > > -- > -------------------- > Raghav Sood > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles > required to have complete control) > http://www.raghavsood.com/ > https://market.android.com/developer?pub=Appaholics > http://www.appaholics.in/ > > -- > 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 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

