OK then is there something wrong with the call I am making, because
it's actually darkening the screen behind the window.

On Apr 8, 12:01 pm, hackbod <[EMAIL PROTECTED]> wrote:
> Sorry, there is no way to indicate the amount of blur.
>
> On Apr 8, 9:25 am, Cheryl Sedota <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is this the correct way to get the window blur to occur?
>
> > getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
> > WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
>
> > ... or is there some way to indicate a blur factor (extremely blury
> > for example).
>
> > Thanks,
> > Cheryl
>
> > On Mar 31, 6:20 pm, hackbod <[EMAIL PROTECTED]> wrote:
>
> > >http://code.google.com/android/reference/android/view/WindowManager.L...
>
> > > Set this flag on the window of your activity.
>
> > > I'm not sure if this was working in M5, but if not it will be working
> > > in an upcoming SDK.  (It did work in M3.)
>
> > > On Mar 31, 3:46 pm, Cheryl Sedota <[EMAIL PROTECTED]> wrote:
>
> > > > How can one blur a rectangular region of the screen (region could
> > > > intersect with more than one activity's windows)... we are able to get
> > > > blur working for a particular view itself by implementing a custom
> > > > onDraw() method and Paint.setMaskFilter() --> BlurMaskFilter but can't
> > > > figure out how to apply a blur to another activity's view.
>
> > > > If this is just not possible, then please demonstrate how to take a
> > > > snapshot of the screen so that we can manipulate that bitmap image as
> > > > part of our blur activity.  I've only seen the snapshot capability
> > > > offered on the WebView but it's a very useful utility to have for all
> > > > views in general.
>
> > > > Thanks,
> > > > Cheryl- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to