diff options
Diffstat (limited to 'src/android/app/src/main/res/layout/activity_main.xml')
-rw-r--r-- | src/android/app/src/main/res/layout/activity_main.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/android/app/src/main/res/layout/activity_main.xml b/src/android/app/src/main/res/layout/activity_main.xml index cea0922a7..34abf955d 100644 --- a/src/android/app/src/main/res/layout/activity_main.xml +++ b/src/android/app/src/main/res/layout/activity_main.xml @@ -5,23 +5,23 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <FrameLayout - android:id="@+id/games_platform_frame" - android:layout_width="match_parent" - android:layout_height="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" /> - <com.google.android.material.appbar.AppBarLayout - android:id="@+id/appbar" + android:id="@+id/appbar_main" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + app:liftOnScrollTargetViewId="@id/grid_games"> <androidx.appcompat.widget.Toolbar android:id="@+id/toolbar_main" android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" - android:background="?colorPrimary"/> + android:layout_height="?attr/actionBarSize" /> </com.google.android.material.appbar.AppBarLayout> + <FrameLayout + android:id="@+id/games_platform_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + </androidx.coordinatorlayout.widget.CoordinatorLayout> |