删除Android工具栏导航抽屉选项 [英] Remove Android Toolbar Navigation Drawer option
本文介绍了删除Android工具栏导航抽屉选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何删除Android工具栏上最左侧的导航抽屉菜单项.基本上,我不会以横向方式包含4张图像,没别的!
How can i remove the leftmost navigation drawer menu item on the Android Toolbar. Basically i wan't to contain 4 images in a horizontal fashion, Nothing else !
推荐答案
getSupportActionBar().setDisplayHomeAsUpEnabled(false)
getSupportActionBar().setDisplayHomeAsUpEnabled(false)
这应该删除导航抽屉图标
This should remove the navigation drawer icon
这篇关于删除Android工具栏导航抽屉选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文