title: How to make an activity background transparent and blur the background
body: <p>When I launch my app, it launches an <code>Activity</code> which should have transparent header and whatever is the currently shown in background should be blurred.</p>
  
  <p><a href="https://i.stack.imgur.com/O2fnw.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/O2fnw.jpg" alt="enter image description here"></a> </p>
  
  <p>I am able to get the transparency. But I am not able to figure out how to blur the background. For example if I launch app from home screen, then home screen should be visible but blurred out.</p>
  
  <p>I have an idea to use Framebuffer to get current displayed data, but how to convert that to bitmap which I can use to draw an image without saving the image and directly using data.</p>
  
  <p>I also know that We can take screenshot by <em>pressing power and volume button</em>. Does anyone has an idea where is the code in android to do that? My app will have system access. </p>