Open jamesmartins opened 9 years ago
ya how to do over/above ActionBar?
Hello @jamesmartins, @mkaarthick. This is unrelated to how the layer operates itself. You do this externally in your layout similar to how you'd do with any other view (eg.: DrawerLayout).
The first thing you need to do is make sure the are of influence of your view is the entire screen. There are a few ways to do that. You can use a theme such as FullScreen
or NoTitleBar
or properties in your xml view like fitsSystemWindow
.
Once your view expands to the entire surface of your window you can control the hierarchical position of your actionBar by using the new Toolbar component available in support v7 libraries. To display your toolbar below the sliding layer, simply place it properly in your xml file.
Here is a related post in StackOverflow addressing a similar issue, using the DrawerLayout. Check the answer marked as correct by Chris Banes.
Please note that I have not tried that myself yet. It'd be very interesting to see your results. Could you please share them once you get the desired effect?
Hi. How do I do when the layerPosition = "TOP" working overlaying ActionBar?
Thanks.