MainActivity: Add view binding type hint for navigation bar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-07-16 16:44:10 +07:00
parent 8b341c088c
commit e9843a6b45
3 changed files with 10 additions and 7 deletions

View File

@@ -21,7 +21,8 @@
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/nav_host_fragment"
@@ -43,5 +44,6 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/menu_bottom_nav" />
app:menu="@menu/menu_bottom_nav"
tools:viewBindingType="com.google.android.material.navigation.NavigationBarView" />
</androidx.constraintlayout.widget.ConstraintLayout>