title: Blur the background of Layout
body: <p>I made a Style/Theme which fully transparents my layout.Now I want to Blur the background.The most solutions I founded are for two Views.So the second layout blurs the first out.But thats NOT what I want.I just want to blur the background which is seeable (For example android luncher menu or homescreen etc.).</p>
  
  <p>My Style:</p>
  
  <pre><code>&lt;style name="Theme.Transparent" parent="@android:style/Theme.Dialog"&gt;
  &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt;
  &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
  &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
  &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
  &lt;item name="android:backgroundDimEnabled"&gt;false&lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>I used this on my application in manifest.
  Some one got an idea ?</p>
  
  <p>EDIT:</p>
  
  <p>Now I wanted to take a screenshot so I can blur the image after that.this should propably screen the android luncher, homescreen whatever
  .I used this code and it is throwsing a null object  </p>
  
  <pre><code>public Bitmap screenshot_menu()
              {
                  RelativeLayout r1;
  
                  r1 = (RelativeLayout)findViewById(R.id.relativeLayout_MAIN);
                  View v1 = r1.getRootView();
                  v1.setDrawingCacheEnabled(true);
                  Bitmap bm = v1.getDrawingCache();
  
  
                  return bm;
              } 
  </code></pre>
  
  <p>Is it because of my theme ? Or what could be wrong here ?</p>