在使用BottomNavigationView
作为底部导航时导航栏一直浮在展示Fragment
的FrameLayout
底部上层(想要的效果是FrameLayout
和BottomNavigationView
按vertical
的orientation
排列)
最终代码:
<?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:id="@+id/container"
android:layout_width="