Android Open Source - MythTrack Settings Activity






From Project

Back to project page MythTrack.

License

The source code is released under:

MIT License

If you think the Android project MythTrack 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

/**
 * SettingsActivity serves as a container for the SettingsFragment.
 */*from   www.j  a  va2 s  .  c om*/
 * @author Nolan Jurgens
 */

package nolanjurgens.mythtrack.app;

// IMPORTS /////////////////////////////////////////////////////////////////////////////////////////
import android.app.Activity;
import android.app.FragmentTransaction;
import android.os.Bundle;

import nolanjurgens.mythtrack.R;

////////////////////////////////////////////////////////////////////////////////////////////////////
// CLASS - SettingsActivity                                                                       //
////////////////////////////////////////////////////////////////////////////////////////////////////
public class SettingsActivity extends Activity
{
  // METHODS ///////////////////////////////////////////////////////////////////////////////////////
  /**
   * Called when the activity is launched.
   * @param savedInstanceState Saved instance information.
   */
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);

    // Set the user interface.
    setContentView(R.layout.activity_settings);

    // Don't add fragments if resuming from a previous state.
    if(savedInstanceState != null)
    {
      return;
    }

    // Add the settings fragment.
    FragmentTransaction transaction = getFragmentManager().beginTransaction();
    transaction.add(R.id.settings_fragment_container, new SettingsFragment(), "SettingsFragment");
    transaction.commit();
  }

}




Java Source Code List

nolanjurgens.mythtrack.app.BuyItemDialog.java
nolanjurgens.mythtrack.app.CreateHeroDialog.java
nolanjurgens.mythtrack.app.DeleteHeroDialog.java
nolanjurgens.mythtrack.app.EquipmentInfoDialog.java
nolanjurgens.mythtrack.app.HeroDisplayFragment.java
nolanjurgens.mythtrack.app.HeroHelper.java
nolanjurgens.mythtrack.app.HeroList.java
nolanjurgens.mythtrack.app.HeroTrackerActivity.java
nolanjurgens.mythtrack.app.Hero.java
nolanjurgens.mythtrack.app.InventoryList.java
nolanjurgens.mythtrack.app.ItemHelper.java
nolanjurgens.mythtrack.app.ItemList.java
nolanjurgens.mythtrack.app.Item.java
nolanjurgens.mythtrack.app.MainActivity.java
nolanjurgens.mythtrack.app.RemoveItemDialog.java
nolanjurgens.mythtrack.app.SettingsActivity.java
nolanjurgens.mythtrack.app.SettingsFragment.java
nolanjurgens.mythtrack.app.StatInfoDialog.java
nolanjurgens.mythtrack.app.StatPickerDialog.java
nolanjurgens.mythtrack.app.TitleHelper.java
nolanjurgens.mythtrack.app.Title.java
nolanjurgens.mythtrack.provider.MythTrackBackup.java
nolanjurgens.mythtrack.provider.MythTrackContract.java
nolanjurgens.mythtrack.provider.MythTrackDatabase.java