Remove Android Toolbar Navigation Drawer option

后端 未结 6 2059
一整个雨季
一整个雨季 2021-01-02 21:07

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 !

6条回答
  •  无人及你
    2021-01-02 21:50

    getSupportActionBar().setDisplayHomeAsUpEnabled(false)

    This should remove the navigation drawer icon

提交回复
热议问题