@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   PreferenceManager.setDefaultValues(getActivity(), R.xml.graph_settings, false);
   addPreferencesFromResource(R.xml.graph_settings);
 }
Пример #2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   addPreferencesFromResource(R.xml.preferences);
 }