On Mar 5, 12:04 pm, LeGeNDuS <[email protected]> wrote:

> I'm doing an APP that shows some dialogs. Those dialogs are Alert
> dialogs, and when they are being showed if I change the orientation of
> the mobile I lost them...they are not being kept on the screen

Not sure if you realize this, but when the orientation changes, your
activity gets destroyed and re-created. As a result, you need to
rebuild the state your activity was in before the orientation change.

One way to handle this is the same as if the app was closed and then
re-opened. Another option is in
http://developer.android.com/resources/articles/faster-screen-orientation-change.html,
but considering the caveat at the end of that article, this may not be
an option for you.

String

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