@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); PreferenceManager.setDefaultValues(getActivity(), R.xml.graph_settings, false); addPreferencesFromResource(R.xml.graph_settings); }
@Override public void decorate() { super.decorate(); decorator.decorateTypeSpecificSettings(); }
@Override public void onResume() { super.onResume(); getSupportActionBar().setSubtitle("Settings"); }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences); }
@Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setHasOptionsMenu(true); }