Back to project page temaki.
The source code is released under:
Apache License
If you think the Android project temaki 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.jmartin.temaki.settings; //from www . j a v a 2s . c o m import android.R; import android.app.Activity; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.MenuItem; import java.util.Locale; /** * Created by jeff on 2013-08-21. */ public class SettingsActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getFragmentManager().beginTransaction() .replace(R.id.content, new SettingsFragment()) .commit(); } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.home: super.onBackPressed(); return true; default: return super.onOptionsItemSelected(item); } } }