This is the correct behavior. The dialog should remain visible after a
screen orientation change. There is a bug though, the progress bar
should be filled automatically even after a screen rotation.

On Thu, Sep 4, 2008 at 2:01 AM, blindfold <[EMAIL PROTECTED]> wrote:
>
> If one runs the SDK 0.9 beta sample application API Demos | App |
> Dialog | Progress dialog, one finds that turning the emulator view by
> pressing key "9" while the progress bar is showing causes that the
> progress bar never gets dismissed. Playing with
> mProgressDialog.dismiss(); in onDestroy or onResume did not seem to
> fix the problem, so I wonder if there is some strange sequence of
> state transitions or incomplete cleanup that makes that a new progress
> bar is created for the new view before the previous one has properly
> closed or something? How does one make this API Demos sample work
> properly under screen rotation? I suspect that Android itself needs to
> clean up something more than it does now when rotating the view.
>
> Regards
>
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to