问题遇到的现象和发生背景
android开发适用bottomnavigation一个底部导航栏
用代码块功能插入代码,请勿粘贴截图
<com.google.android.material.bottomnavigation.BottomNavigationView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"/>
运行结果及报错内容
我想要达到的结果
怎么才能显示这个组件