Back to project page Ask1.
The source code is released under:
MIT License
If you think the Android project Ask1 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 uk.me.timlittle.ask; // www.j a va 2s . c om import android.os.Bundle; import android.preference.PreferenceFragment; /** * The setting fragment that shows the preferences for the application. */ public class SettingsFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Load the preferences as configured in the /res/xml/preferences.xml file // and displays them. // The preferences will be automatically saved. addPreferencesFromResource(R.xml.preferences); } }