How can I create a toolbar/actionbar that combines the default actiondrawertoggle button (with the burger-arrow animation) with an edittext and a simple button like this?

How can I create a toolbar/actionbar that combines the default actiondrawertoggle button (with the burger-arrow animation) with an edittext and a simple button like this?

Toolbaris aViewGroup, so, you can use aToolbaras aFrameLayout.Here is a simple example, take a look at it:
Hope you'll be inspired.