title: Dismiss Pop up window when back button is pressed
body: <p>I want to dismiss the pop up window when back button is pressed. I tried with this code:
  <code>popwindow.setBackgroundDrawable(new BitmapDrawable());</code> and it works. But in my app, pop should remain, even after touching outside of the pop up window. It should be dismissed only when back button is pressed. So I tried this: <code>popwindow.setFocusable(false);</code>
  Now its not dismissing when touched outside the pop up. But its not dismissing on back press too. I do not want to overide `onBackPressed(). Is there any other way, through which i can achieve this. Thanks in advance..</p>