title: how to blur image in android and set it to relative layout
body: <p>I want to blur image like this and I need to set it to the <code>RelativeLayout</code> and it should create blur image like this image given below :</p>
  
  <p><a href="https://i.stack.imgur.com/c7QPy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7QPy.png" alt="Blur snapshot of my camera app when it changes the camera from front to rear"></a></p>
  
  <p>I used <code>blurry</code> library from github and it does all my work using this code but I can set it to <code>Imageview</code> only not to <code>RelativeLayout</code>.</p>
  
  <pre><code>Blurry.with(context).capture(view).into(imageView);
  </code></pre>
  
  <p>So, please give me the solution.</p>