package info.melda.sala.zetemezszam;

import android.os.Bundle;
import android.preference.PreferenceActivity;

/**
 *
 */
public class PrefsActivity extends PreferenceActivity {

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        addPreferencesFromResource(R.xml.prefs);
    }
}

@@ -102,16 +102,62 @@
 ctivity;
+%0Aimport android.preference.PreferenceFragment;
 %0A%0A/**%0A *
@@ -222,62 +222,8 @@
  %7B%0A%0A
-    /** Called when the activity is first created. */%0A
     
@@ -306,16 +306,354 @@
 cicle);%0A
+        getFragmentManager().beginTransaction().replace(android.R.id.content, new PrefsPreferenceFragment()).commit();%0A    %7D%0A%0A    public static class PrefsPreferenceFragment extends PreferenceFragment %7B%0A%0A        @Override%0A        public void onCreate(final Bundle savedInstanceState) %7B%0A            super.onCreate(savedInstanceState);%0A    
         
@@ -693,16 +693,26 @@
 prefs);%0A
+        %7D%0A
     %7D%0A%7D%0A

replace deprecated code