正如标题所说,我无法删除底部导航栏中的操作栏。
我尝试了不同的 NoAction 栏主题,但由于某种原因它不起作用。
有人可以告诉我我做错了什么吗?
这是示例
The screenshot
最佳答案
AppBarConfiguration appBarConfiguration = new AppBarConfiguration.Builder(R.id.navigation_home, R.id.navigation_dashboard, R.id.navigation_notification).build();
NavigationUI.setupActionBarWithNavController(this, navController, appBarConfiguration);
关于android - 在底部导航 View 中删除操作栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50545521/