Friday, January 4, 2013

[android-developers] Re: setting app theme at runtime

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate