diff options
Diffstat (limited to 'app/src/main/res/layout/activity_wiimmfi.xml')
-rw-r--r-- | app/src/main/res/layout/activity_wiimmfi.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_wiimmfi.xml b/app/src/main/res/layout/activity_wiimmfi.xml index 1d4d077..92fe378 100644 --- a/app/src/main/res/layout/activity_wiimmfi.xml +++ b/app/src/main/res/layout/activity_wiimmfi.xml @@ -2,10 +2,10 @@ <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:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" - android:id="@+id/drawer_layout" - tools:context=".MainActivity"> + tools:context=".wiimmfi.WiimmfiActivity"> <androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="match_parent" @@ -13,28 +13,30 @@ android:fitsSystemWindows="true"> <com.google.android.material.appbar.AppBarLayout + style="@style/Widget.MaterialComponents.AppBarLayout.Primary" android:layout_width="match_parent" android:layout_height="wrap_content" - style="@style/Widget.MaterialComponents.AppBarLayout.Primary" android:fitsSystemWindows="true"> <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:title="Watching 0000-0000-0000" - app:navigationIcon="@drawable/ic_baseline_menu_24" - style="@style/Widget.MaterialComponents.Toolbar.Primary" android:background="@android:color/transparent" - android:elevation="0dp" /> + android:elevation="0dp" + app:navigationIcon="@drawable/ic_baseline_menu_24" + app:title="Watching 0000-0000-0000" /> </com.google.android.material.appbar.AppBarLayout> <androidx.fragment.app.FragmentContainerView - android:id="@+id/recent_friend_codes_fragment" + android:id="@+id/room_fragment" android:layout_width="match_parent" android:layout_height="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + </androidx.fragment.app.FragmentContainerView> <!-- Screen content --> <!-- Use app:layout_behavior="@string/appbar_scrolling_view_behavior" to fit below top app bar --> @@ -47,8 +49,8 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" - app:menu="@menu/drawer_navigation_menu" - > + app:menu="@menu/drawer_navigation_menu"> + </com.google.android.material.navigation.NavigationView> |