Advertisement
Guest User

activity

a guest
Apr 1st, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.98 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.     xmlns:app="http://schemas.android.com/apk/res-auto"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent"
  6.     tools:context=".ui.navigation.MainNavigationActivity">
  7.  
  8.  
  9.     <androidx.fragment.app.FragmentContainerView
  10.         android:id="@+id/nav_host_container"
  11.         android:layout_width="match_parent"
  12.         android:layout_height="match_parent"
  13.         android:layout_above="@id/bottom_navigation_view"
  14.         app:defaultNavHost="true" />
  15.  
  16.     <com.google.android.material.bottomnavigation.BottomNavigationView
  17.         android:id="@+id/bottom_navigation_view"
  18.         style="@style/MyBottomNavigationViewStyle"
  19.         android:layout_width="match_parent"
  20.         android:layout_height="wrap_content"
  21.         android:layout_alignParentBottom="true"
  22.         app:menu="@menu/bottom_nav_menu" />
  23.       
  24. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement