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

Reply via email to