aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/ui/SettingsFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/gultsch/chat/ui/SettingsFragment.java')
-rw-r--r--src/de/gultsch/chat/ui/SettingsFragment.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/ui/SettingsFragment.java b/src/de/gultsch/chat/ui/SettingsFragment.java
new file mode 100644
index 00000000..3ca4841a
--- /dev/null
+++ b/src/de/gultsch/chat/ui/SettingsFragment.java
@@ -0,0 +1,15 @@
+package de.gultsch.chat.ui;
+
+import de.gultsch.chat.R;
+import android.os.Bundle;
+import android.preference.PreferenceFragment;
+
+public class SettingsFragment extends PreferenceFragment {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ // Load the preferences from an XML resource
+ addPreferencesFromResource(R.xml.preferences);
+ }
+}