aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-08-11 22:05:39 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-08-11 22:05:39 -0600
commitfb51cefd42871cc470253edbe9616706bfbd2361 (patch)
tree060d8848a9a630ffe2a1b41442c6f746822f9e12 /app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java
parent5977cfeb9bfe5efcc3457d3fdf2d10f24e5ac395 (diff)
downloadwiimmfi-watcher-fb51cefd42871cc470253edbe9616706bfbd2361.tar
wiimmfi-watcher-fb51cefd42871cc470253edbe9616706bfbd2361.tar.gz
wiimmfi-watcher-fb51cefd42871cc470253edbe9616706bfbd2361.tar.bz2
figured out preferences, going to bed now
Diffstat (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java')
-rw-r--r--app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java
new file mode 100644
index 0000000..076d6c0
--- /dev/null
+++ b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/settings/SettingsActivity.java
@@ -0,0 +1,18 @@
+package me.brysonsteck.wiimmfiwatcher.settings;
+
+import android.os.Bundle;
+import android.preference.PreferenceFragment;
+
+import androidx.annotation.Nullable;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.preference.PreferenceFragmentCompat;
+
+import me.brysonsteck.wiimmfiwatcher.R;
+
+public class SettingsActivity extends PreferenceFragmentCompat {
+ @Override
+ public void onCreatePreferences(Bundle savedInstanceState, String rootkey) {
+ super.onCreate(savedInstanceState);
+ setPreferencesFromResource(R.xml.preferences, rootkey);
+ }
+}