This is the scenario:
I have a button B, and a slidingdrawer that when pulled out covers the entire screen.
When I pull out the screen, and touch the screen where B used to
I think you should add a touch listener on slider and return true on it.
In that way, you will tell to the system that the touch event has been consumed.