This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
wiimmfi-watcher/app/src/main/res/layout/activity_main.xml

68 lines
2.9 KiB
XML
Raw Normal View History

2021-04-30 09:57:06 -06:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-04-30 09:57:06 -06:00
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"
2021-04-30 09:57:06 -06:00
tools:context=".MainActivity">
2021-05-02 22:38:15 -06:00
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
2021-04-30 09:57:06 -06:00
<com.google.android.material.appbar.AppBarLayout
2021-05-02 22:38:15 -06:00
android:id="@+id/appBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-05-02 22:38:15 -06:00
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"
android:background="@android:color/transparent"
android:elevation="0dp"
app:menu="@menu/top_app_bar"
2021-05-08 18:01:47 -06:00
app:title="Wiimmfi Watcher" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.fragment.app.FragmentContainerView
2021-05-02 22:38:15 -06:00
android:id="@+id/friend_code_input_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-05-02 22:38:15 -06:00
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/room_fragment"
android:layout_width="match_parent"
2021-05-02 22:38:15 -06:00
android:layout_height="wrap_content"
android:hapticFeedbackEnabled="false"
app:layout_constraintTop_toBottomOf="@+id/friend_code_input_fragment" />
<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 -->
2021-05-02 22:38:15 -06:00
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.drawerlayout.widget.DrawerLayout>