主页Activity
<FrameLayout>
<FrameLayout/>
<BottomBar>
<ImageView>
<FrameLayout/>
第一个页面
<FrameLayout>
</FrameLayout>
第二个页面
<FrameLayout>
<AppBarLayout>
<TabLayout></TabLayout>
</AppBarLayout>
<ViewPager></ViewPager>
</FrameLayout>
<ViewPager></ViewPager>
可以有1,2,3,4个Fragment 复杂嵌套
这个大神的多fragment复杂嵌套,处理了各种坑
https://github.com/YoKeyword/Fragmentation