Remove Android Toolbar Navigation Drawer option

后端 未结 6 2058
一整个雨季
一整个雨季 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:36

    Use

    yourActionBarDrawer.setDrawerIndicatorEnabled(false);
    

    This will remove the hamburger icon on toolbar completely.

提交回复
热议问题