diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-08-11 22:05:39 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-08-11 22:05:39 -0600 |
commit | fb51cefd42871cc470253edbe9616706bfbd2361 (patch) | |
tree | 060d8848a9a630ffe2a1b41442c6f746822f9e12 /app/src/main/res/layout/activity_settings.xml | |
parent | 5977cfeb9bfe5efcc3457d3fdf2d10f24e5ac395 (diff) | |
download | wiimmfi-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/res/layout/activity_settings.xml')
-rw-r--r-- | app/src/main/res/layout/activity_settings.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml new file mode 100644 index 0000000..327dc2e --- /dev/null +++ b/app/src/main/res/layout/activity_settings.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:id="@+id/drawer_layout" + tools:context=".settings.SettingsActivity"> + + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fitsSystemWindows="true"> + + + + <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appBarLayout" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:fitsSystemWindows="true" + app:layout_constraintTop_toTopOf="parent"> + + <com.google.android.material.appbar.MaterialToolbar + android:id="@+id/toolbar" + style="@style/Widget.MaterialComponents.Toolbar.Primary" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + app:navigationIcon="@drawable/ic_baseline_arrow_back_24" + app:navigationIconTint="#FFFFFF" + android:elevation="0dp" + app:title="@string/settings_title" + app:titleTextColor="@color/white" /> + + </com.google.android.material.appbar.AppBarLayout> + + <androidx.fragment.app.FragmentContainerView + android:id="@+id/fragmentContainerView" + 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" /> + + <!-- <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton--> + <!-- android:id="@+id/clear_button"--> + <!-- android:layout_width="wrap_content"--> + <!-- android:layout_height="wrap_content"--> + <!-- android:layout_gravity="bottom|right"--> + <!-- android:layout_margin="15dp"--> + <!-- android:foregroundTint="#FFFFFF"--> + <!-- android:text="Clear"--> + <!-- android:textColor="#FFFFFF"--> + <!-- app:backgroundTint="#1E88E5"--> + <!-- app:icon="@drawable/ic_baseline_clear_all_24"--> + <!-- app:iconTint="#FFFFFF"--> + <!-- app:layout_constraintBottom_toBottomOf="parent"--> + <!-- app:layout_constraintEnd_toEndOf="parent" />--> + + <!-- Screen content --> + <!-- Use app:layout_behavior="@string/appbar_scrolling_view_behavior" to fit below top app bar --> + + </androidx.constraintlayout.widget.ConstraintLayout> + + +</androidx.drawerlayout.widget.DrawerLayout>
\ No newline at end of file |