package anabalica.github.io.meowletters;

import android.app.Activity;
import android.os.Bundle;


/**
 * This is the activity that allows to access, view and change game settings.
 * Settings include username setup, sound on/off.
 *
 * For future, possible settings:
 *  - setup for colorblind
 *  - choice of alphabet
 *  - interface language
 *  - inversion of the alphabet (practise it backwards)
 *
 * @author Ana Balica
 */
public class SettingsActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        getFragmentManager().beginTransaction()
                .replace(android.R.id.content, new SettingsFragment())
                .commit();
    }
}

@@ -473,16 +473,203 @@
 vity %7B%0A%0A
+    public final static String PREF_NICKNAME = %22pref_nickname%22;%0A    public final static String PREF_ALPHABET = %22pref_alphabet%22;%0A    public final static String PREF_SOUND = %22pref_sound%22;%0A%0A
     @Ove

store constants to preferences keys