Added extension functions to apply insets

This commit is contained in:
Prathamesh More 2021-10-03 19:28:05 +05:30
parent 9f5b9d32ad
commit 03b9e36014
25 changed files with 116 additions and 66 deletions

View file

@ -8,6 +8,7 @@
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment_container"
tools:layout="@layout/fragment_home"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -57,10 +58,13 @@
android:id="@+id/bottomNavigationView"
style="@style/Widget.Material3.BottomNavigationView"
android:layout_width="match_parent"
android:layout_height="@dimen/bottom_nav_height"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:elevation="0dp"
android:minHeight="@dimen/bottom_nav_height"
app:itemHorizontalTranslationEnabled="false"
app:itemPaddingBottom="0dp"
app:itemPaddingTop="8dp"
app:menu="@menu/bottom_navigation_main"
tools:layout_height="wrap_content" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>