Explorar o código

Hardcode bottom nav height (fixes #5698)

This shouldn't be an issue since the spec defines the height to always be 56dp anyway.
arkon %!s(int64=3) %!d(string=hai) anos
pai
achega
ebb15bf96c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/src/main/res/layout/main_activity.xml

+ 1 - 1
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"