yes i thought of overriding onStop(). but how to i notify the main activity that the preferences was closed.
On Friday, January 4, 2013 2:53:18 PM UTC-5, bob wrote: > > Maybe override onBackPressed for the Preferences activity? > > On Friday, January 4, 2013 1:34:11 PM UTC-6, dashman wrote: >> >> Thanks. >> >> I see how this can be done. >> >> Now from the main app, I open a preferences screen that allows the user >> to select >> a theme. >> >> But I don't want to restart the app right there - user might want to do >> other things. >> >> From the main app, how can I detect that the Preferences screen was >> closed. >> >> This way I can detect there was a change to the theme and then restart >> the activity. >> >> >> >>> -- 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

