- @Override
- public void onCreate() {
- super.onCreate();
- }
-
- public Bundle getOptions() {
- Bundle options = new Bundle();
- options.putInt("size", size);
- options.putInt("difficulty", difficulty);
- options.putBoolean("gravity", gravity);
- options.putBoolean("timeCounter", timeCounter);
- return options;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
+ setOptions();