aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-08-12 20:43:51 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-08-12 20:43:51 -0600
commitd9dfccfc6a8ba167ba38efdf83368e790f35a636 (patch)
tree991b63d78c81632d3844334b0db0b53ebbf3e232 /app/src/main/res
parentfb51cefd42871cc470253edbe9616706bfbd2361 (diff)
downloadwiimmfi-watcher-d9dfccfc6a8ba167ba38efdf83368e790f35a636.tar
wiimmfi-watcher-d9dfccfc6a8ba167ba38efdf83368e790f35a636.tar.gz
wiimmfi-watcher-d9dfccfc6a8ba167ba38efdf83368e790f35a636.tar.bz2
i have no idea what im doing actuallydev
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_settings.xml9
-rw-r--r--app/src/main/res/xml/preferences.xml9
2 files changed, 12 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index 327dc2e..19e6d92 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -35,14 +35,11 @@
</com.google.android.material.appbar.AppBarLayout>
<androidx.fragment.app.FragmentContainerView
- android:id="@+id/fragmentContainerView"
+ android:id="@+id/settings_fragment_view"
android:name="me.brysonsteck.wiimmfiwatcher.settings.SettingsMainFragment"
android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
+ android:layout_height="wrap_content"
+ tools:layout_editor_absoluteY="56dp" />
<!-- <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton-->
<!-- android:id="@+id/clear_button"-->
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 624ed13..0123331 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -1,4 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <Preference
+ android:key="theme"
+ android:title="Theme"
+ android:summary="Blue (Default)" />
+
+ <SwitchPreference
+ android:key="dark_mode"
+ android:title="Dark mode"/>
+
</PreferenceScreen> \ No newline at end of file