On Tue, Mar 5, 2013 at 5:41 PM, Piren <[email protected]> wrote:

> - Dont use a different Activity to show Prefs (you can re-use your current
> one, i personally always disliked the PreferencesActivity class.. its ugly
> as fuck)
>


> you can either just replace your current contentView or use other
> containers like ViewSwitcher/ViewPager and etc  to switch between the main
> app and the preferences view.
>

Thanks for pointing this out, it never occurred to me that I could reuse my
main activity instance... clever. :-)  Now trying to figure out how to
construct the preferences view.  I'm also using
PreferenceActivity.onSharedPreferenceChanged() so I'll have to have a
replacement for that too.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to