From ebb15bf96cfed6a5dd278c513ea72a1c5f3b1e1c Mon Sep 17 00:00:00 2001 From: arkon <eugcheung94@gmail.com> Date: Sun, 22 Aug 2021 14:17:28 -0400 Subject: [PATCH] Hardcode bottom nav height (fixes #5698) This shouldn't be an issue since the spec defines the height to always be 56dp anyway. --- app/src/main/res/layout/main_activity.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index 30814b92f..d01a0d632 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -78,7 +78,7 @@ <com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/bottom_nav" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="56dp" android:layout_gravity="bottom" android:clickable="true" app:layout_insetEdge="bottom"