1

I have a linearlayout at the bottom of the screen. its width fills the screen and that layout has a button which fills the layout.. above that layout have a sliding drawer in the middle of the screen which is half the linearlayout width.I have Programatically made sliding drawer to come to front by calling it with bringtofront() method. Problem i m facing is the button inside the linearlayout takes the click in the space between the content items. I need it to take the click only outside the sliding drawer but not inside the content of the sliding drawer,, can anyone help me out please.. Thanks in advance :)

Zombie
  • 1,965
  • 2
  • 20
  • 34

1 Answers1

1

Take a boolean which holds slider status(open/close)

if(open)
//Disable button's click 
else
//Enable button's click 
Mohammed Azharuddin Shaikh
  • 41,633
  • 14
  • 96
  • 115