Thank you... I have tried to do this....but it doens't work so
fine..... here the code:
protected Dialog onCreateDialog(int id) {
Dialog dialog;
switch(id) {
case ACTION_DIALOG:
dialog = showActionDialog(classcodecategory, classtextout);
break;
default:
dialog = null;
}
return dialog;
}
When I show it for first time it's showed fine, but when I change the
orientation it only keep the "negative button" of the dialog, the rest
is empty.
Apart of that...when I pass to other activity and come again to this
one, I need to show again this dialog, but modified, and it always
show the first dialog....
On 5 mar, 12:04, LeGeNDuS <[email protected]> wrote:
> Hello!
>
> I'm doing an APP that shows some dialogs. Those dialogs are Alert
> dialogs, and when they are being showed if I change theorientationof
> the mobile I lost them...they are not being kept on the screen. is
> there anyway to fix this?.
>
> Thank you so much
--
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