1.BottomNavigationView+FragmentLayout
1.1 activity_main
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".base.MainActivity">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="40dp"
android:id="@+id/frag1"/>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bnv1"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_alignParen