[android-developers] Re: How to create new PreferenceFragment from XML

2012-12-15 Thread Jim Duda
On 12/14/2012 09:05 PM, Jim Duda wrote: When selecting the pref_hosts_title, I want the SettingsActivity$HostsFragment to display. This new fragment does display, however, it doesn't replace the original fragment, it instead overlays the original fragment. The two fragments display at the

[android-developers] Re: How to create new PreferenceFragment from XML

2012-12-14 Thread Jim Duda
On 12/13/2012 11:03 PM, Jim Duda wrote: I want to launch a new preference screen from my main preference screen. My main preference.xml is this: ?xml version=1.0 encoding=utf-8? PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/android; PreferenceScreen