Android Open Source - Ask1 Settings Fragment






From Project

Back to project page Ask1.

License

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.

Java Source Code

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);
  }
}




Java Source Code List

uk.me.timlittle.ask.MainActivity.java
uk.me.timlittle.ask.SettingsActivity.java
uk.me.timlittle.ask.SettingsFragment.java
uk.me.timlittle.ask.ShakeEventManager.java