diff --git a/app/src/main/java/fr/iutfbleau/sae/SettingsActivity.java b/app/src/main/java/fr/iutfbleau/sae/SettingsActivity.java new file mode 100644 index 0000000..c8c880f --- /dev/null +++ b/app/src/main/java/fr/iutfbleau/sae/SettingsActivity.java @@ -0,0 +1,25 @@ +package fr.iutfbleau.sae; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; +import android.preference.PreferenceActivity; + +/** + * {@code SettingsActivity} is the activity that displays the settings. + * + * @autor Alexeï Kadir, Lyanis Souidi, Hugo Dimitrijevic + * @version 1.0 + */ +public class SettingsActivity extends PreferenceActivity { + /** + * Creates the settings view. + * + * @param savedInstanceState The saved instance state. + */ + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + this.addPreferencesFromResource(R.xml.preferences); + } +} \ No newline at end of file diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml new file mode 100644 index 0000000..9d73598 --- /dev/null +++ b/app/src/main/res/xml/preferences.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + +