Hi Damov, Your activity will only be PAUSED if you use Dialog Theme for a PreferenceActivity. For other Themes, it is PAUSED and STOPPED, but not destroyed or killed. So if you want to restore the state you can do it in onResume... so no need to use Theme.Dialog in your case unless it looks good on your app.
-Chander On Jan 26, 1:49 pm, Stoyan Damov <stoyan.da...@gmail.com> wrote: > On Mon, Jan 26, 2009 at 10:48 AM, Stoyan Damov <stoyan.da...@gmail.com> wrote: > > On Sun, Jan 25, 2009 at 10:20 PM, Dianne Hackborn <hack...@android.com> > > wrote: > >> I can't help you off-hand with the problem, but for what it's worth > >> preferences really aren't intended to be used with a dialog theme. > >> Actually > >> I would stay away from the dialog theme for all but very simple things > >> (like > >> alerts), since the border takes so much space away from your UI. > > >> Of course in general I don't like dialogs. :) > > > The thing is that if I don't use the dialog theme, the preference > > screen would cover my entire view and Android will eventually destroy > > it (I've seen this already). So I'm pretty much forced to use the > > dialog theme - I don't like it either :( > > That is - Android will destroy the activity, which started the > preference activity because it's view is completely covered by the > child activity's view. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---