Lars Nielsen Lind wrote: > Hi, > > we have an XML file placed in the res/xml folder containing our preferences. > > Is it possible at runtime to add new items to the preferences.
In principle, you could do this by adding preferences via Java code instead of XML. However, IMHO, the roster of available preferences should not change based upon other actions. If you want to enable/disable preferences based on a dependency, that's one thing (and can be handled in XML), but I am not a fan of a preference UX that involves preferences magically appearing and disappearing. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Beginning Android 2_ from Apress Now Available! -- 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

