由于我的导航抽屉按钮丢失,我只能滑动以打开导航抽屉。我在导航视图中使用抽屉式布局,在底部栏菜单中使用协调器布局。
主要活动的代码:
ModelViewSet
答案 0 :(得分:0)
我认为重叠的BottomAppBar“ default_activity_button”请删除并检查
set navigation icon
set attributes **app:navigationIcon**
OR
Toolbar toolbar = (Toolbar) findViewById(R.id.my_awesome_toolbar);
setSupportActionBar(toolbar);
toolbar.setNavigationIcon(R.drawable.ic_good);
toolbar.setTitle("Title");
toolbar.setSubtitle("Sub");
toolbar.setLogo(R.drawable.ic_launcher);