BottomBarDrawer
BottomBarDrawer copied to clipboard
BottomBarDrawerLayout acts as a top-level container for window content that allows for interactive "drawer" view to be pulled out from the bottom edge of the window. This version of drawer is working...
- it seems we do not take padding into account (just margin), because bottom bar is drawn over the content if padding is used instead
Refactoring. There is only one drawer, and most probably will be only one
Just use positioning of views in layout like the original DrawerLayout does. First will be content, next will be BottomBarDrawer.
In the end it seems only reasonable to not intercept touch events other then those that originated in the bottom bar area. So now the behaviour is the same as...
We can see something similar in Google play music application. It brings better diversification between a tap that opens/closes the drawer and a drag.