Skip to content

Instantly share code, notes, and snippets.

@anthonykeane
Created June 25, 2013 14:05
Show Gist options
  • Save anthonykeane/5858696 to your computer and use it in GitHub Desktop.
Save anthonykeane/5858696 to your computer and use it in GitHub Desktop.
pakPreferences
package com.anthonykeane.speedsignfinder;
import android.os.Bundle;
import android.preference.PreferenceActivity;
/**
* Created by Keanea on 26/06/13.
*/
public class PreferencesActivity extends PreferenceActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getFragmentManager().beginTransaction().replace(android.R.id.content, new PrefsFragment()).commit();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment