Floating Toolbar with Appcompat
How to create a floating toolbar like the following image as proposed in the material design guidelines and in the Google Map application. I've worked with the Toolbar before and all the comments from CommonsWare are absolutely correct. The Toolbar widget ( https://developer.android.com/reference/android/support/v7/widget/Toolbar.html ) have absolutely nothing special or different than any other Viewgroup and does not behave differently than any other ViewGroup. Put it inside a FrameLayout , put a layout_margin parameter on it, make the layout_width NOT match_parent and that's it. Put it