Android底部导航栏BottomNavigationView+Fragment
主要代码
1:添加依赖
implementation 'com.google.android.material:material:1.2.1'
2:布局文件activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.a
原创
2022-02-09 14:53:44 ·
1055 阅读 ·
0 评论