Disable user input when menu is active?
<p>I currently have a slide out menu from the left of the screen and am using this method for anyone who's interested:</p>

<p><a href="http://stackoverflow.com/questions/11328895/facebook-lide-slideout-menu-not-using-that-library">Facebook lide slideout menu (Not using that library)</a></p>

<p><a href="http://stackoverflow.com/questions/2239442/android-animate-a-views-topmargin-bottommargin-etc-in-linearlayout-or-relativ">Android - Animate a View&#39;s topMargin/bottomMargin/etc in LinearLayout or RelativeLayout</a></p>

<p>Once the menu comes out, it only covers 3/4 of the screen and I'm still showing my main activity in the other 1/4 of the screen. But I'm trying to sort of 'freeze' the main activity when my onMenuClick is fired.. because right now even if the menu is opened, the user can still scroll around and click on things in that 1/4 of the screen. </p>

<p>Once I get this working I'll just set it to close the menu if they click anywhere on the main activity, but for now I'm just trying to disable the input when the menu is opened, then enable the input again when the menu is closed. I know there's a way to take a capture so to speak of the current 'screen' and render it on the screen as a 'locked image' so to speak.. I've done it before but can't remember how I did it.</p>

<p>If anyone has done something like this and remembers how they achieved it any help is appreciated :)</p>

<p>Thanks.</p>
