Android Open Source - Ask1 Settings Activity






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;
// w  w w. jav a  2  s. co m
import android.app.Activity;
import android.os.Bundle;

/**
 * Settings activity that contains a fragment displaying the preferences.
 */
public class SettingsActivity extends Activity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Display the preferences fragment as the content of the activity
    getFragmentManager().beginTransaction()
        .replace(android.R.id.content, new SettingsFragment()).commit();
  }
}




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