A problem confused me for a little while, which is about dialog window and
activity。

In a normal activity,an alert dialog is called to be shown on top of this
activity,and HOME key is pressed to go to HOME screen。
Then HOME key is long pressed to go back to this activity。

Surprisingly, the alert dialog is restored.
Is this job done by activity manager?

A second question is, in some scenarios the activity does not hold the
reference, is there a way to index its top window(for example, dialog
window) from this activity's API?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to