[Android] Drawer button and Back button in ActionBar in Android


Hi guys, is there any way to place a Drawer button and a Back button one next to each other in Android? I understand that Android only supports one NavigationButton which could be the Drawer, I am trying to see if there is a way to place a Back button next to the drawer.

Any suggestions?



Yes, it’s true that you can have only one NavigationButton but the rest of the ActionBar can have a custom view and any number of UI elements can be added as long you have space.

But at least usually they both won’t be placed next to each other, you may consider Gmail app as an example.