Back to project page android-data-persistence.
The source code is released under:
MIT License
If you think the Android project android-data-persistence 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 com.teamtreehouse.mememaker.ui.activities; //from w w w .ja va2 s . c om import android.app.ActionBar; import android.app.Activity; import android.os.Bundle; import android.view.MenuItem; import com.teamtreehouse.mememaker.ui.fragments.MemeSettingsFragment; /** * Created by Evan Anger on 8/11/14. */ public class MemeSettingsActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getFragmentManager().beginTransaction() .replace(android.R.id.content, new MemeSettingsFragment()) .commit(); final ActionBar actionBar = getActionBar(); actionBar.setDisplayHomeAsUpEnabled(true); } @Override public boolean onOptionsItemSelected(MenuItem item) { finish(); return super.onOptionsItemSelected(item); } }