Is it possible to overlay the actionbar with one specific view(i.e sliding drawer)? I know i can make the whole activity full screen and put the action bar on top of it, but i need to slide a sliding drawer on top of the action bar.
Asked
Active
Viewed 711 times
3

Michael Celey
- 12,645
- 6
- 57
- 62

Evgeni Roitburg
- 1,958
- 21
- 33
-
So basically you need to put something on top of your tabs ? or on top of the action bar ? – An-droid Jul 08 '13 at 08:53
1 Answers
0
You can now layout the action bar as a "toolbar" which behaves in the layout just as any other view, and then you can overlay other views (Using frame layouts, drawer layouts etc).
See the section in here about toolbar:
http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html
As Toolbar is just a ViewGroup, you can style and position it however you want.
Then in your Activity or Fragment, set the Toolbar to act as your Action Bar:

TisSarah
- 101
- 1
- 3