Back to project page SharedUrlList.
The source code is released under:
GNU General Public License
If you think the Android project SharedUrlList listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.laxu.apps.sharedurllist; //from w w w . j ava 2s . c o m import de.laxu.apps.sharedurllist.R; import android.os.Bundle; import android.preference.PreferenceFragment; import android.support.v4.app.FragmentActivity; public class SettingsActivity extends FragmentActivity{ @Override public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); SettingsFragment settingsFragment = new SettingsFragment(); getFragmentManager().beginTransaction().replace(android.R.id.content, settingsFragment).commit(); } public static class SettingsFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences); } } }