Skip to content

Commit

Permalink
set the correct height to the main bottom app bar (#4763)
Browse files Browse the repository at this point in the history
Before there was a weird gap when the bar was set to bottom & and the
title bar was hidden.

![Screenshot_20241115_140918](https://github.com/user-attachments/assets/23a7b71f-dff8-4f40-ad7f-9cce5c23755f)
  • Loading branch information
connyduck authored Nov 24, 2024
1 parent a4b2c86 commit 9e83c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<com.google.android.material.bottomappbar.BottomAppBar
android:id="@+id/bottomNav"
android:layout_width="match_parent"
android:layout_height="58dp"
android:layout_height="?attr/actionBarSize"
android:layout_gravity="bottom"
android:backgroundTint="?attr/colorSurface"
app:contentInsetStart="0dp"
Expand Down

0 comments on commit 9e83c20

Please sign in to comment.