Amit,

How are you creating the dialog? Sometimes, when creating a dialog
outside the overriden method "onCreateDialog" (from Activity class),
the dialog can have strange behaviors (mainly because it sometimes the
dialog instance is lacking a reference to its parent). Can you post a
piece of your source code?

Thanks

Bolha

On 25 fev, 16:53, A R <[email protected]> wrote:
> Hi,
>
>  I have an activity which starts with a progress bar and I do not want
> the progress bar to go away until the processing is done, I have set
> the dialog to be setCancelable(false) so now user cannot cancel it
> with back but there are several other situations which hides the
> dialog for eg pressing 'search'.
>
>  On clicking of 'search' button the search box and keyboard pops up,
> back button hides it and shows my activity which is always in the
> background but the dialog is gone.
>
>  I can disable the search button but ideally I would want dialog to
> come back when the activity comes in foreground again. Any ideas how
> to do it?
>
> Regards,
> Amit.

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