2021-04-30 09:57:06 -06:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-04-30 13:40:14 -06:00
|
|
|
<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"
|
2021-04-30 13:40:14 -06:00
|
|
|
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
|
2021-04-30 13:40:14 -06:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true">
|
2021-04-30 09:57:06 -06:00
|
|
|
|
2021-04-30 13:40:14 -06:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2021-05-02 22:38:15 -06:00
|
|
|
android:id="@+id/appBarLayout"
|
2021-04-30 13:40:14 -06:00
|
|
|
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">
|
2021-04-30 13:40:14 -06:00
|
|
|
|
|
|
|
<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"
|
|
|
|
app:title="Wiimmfi Friend Codes" />
|
|
|
|
|
|
|
|
</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"
|
2021-04-30 13:40:14 -06:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-02 22:38:15 -06:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
|
2021-04-30 13:40:14 -06:00
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
2021-05-02 22:38:15 -06:00
|
|
|
android:id="@+id/recent_friend_codes_fragment"
|
2021-04-30 13:40:14 -06:00
|
|
|
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" />
|
2021-04-30 13:40:14 -06:00
|
|
|
|
|
|
|
<!-- 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>
|
2021-04-30 13:40:14 -06:00
|
|
|
|
|
|
|
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|