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

prefs.registerOnSharedPref
erenceChangeListener()

pskink

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