title: Disable user interaction for few seconds android
body: <p>what i am looking for is how to disable user interaction for few seconds, i have tried many methods but none of them is working here is one method.</p>
  
  <pre><code>   final LinearLayout ll = (LinearLayout)findViewById(R.id.linearLayout1);  
     ll.setEnabled(false);
  
  
      new Handler().postDelayed(new Runnable(){
          public void run() {
              ll.setEnabled(true);
          } 
      }, 3000); 
  </code></pre>