Back to project page Android-Minesweeper.
The source code is released under:
MIT License
If you think the Android project Android-Minesweeper listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jigglesoft.minesweeper; /* ww w . j a v a2 s.com*/ import android.os.Bundle; import android.preference.PreferenceFragment; public class SettingsFragment extends PreferenceFragment { public static final String KEY_PREF_ROWS = "pref_rows"; public static final String KEY_PREF_COLUMNS = "pref_columns"; public static final String KEY_PREF_BOMBS = "pref_bombs"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences); } }