If you're right, then the documentation is wrong/incomplete, because
it says:

int     FLAG_BLUR_BEHIND     Window flag: *blur everything behind this
window*.

It doesn't say: "apply a random effect, that is concretely *blur* on
all versions of SDK, except on Honeycomb in which it's a full black
background". I don't understand why the behavior is allowed to be
inconsistent between versions. Prior to 3.0, FLAG_BLUR_BEHIND blurs
everything behind the window. In 3.0, this flag replaces everything
behind the window by a black background.


Also, in Honeycomb, how can I "blur everything behind my window", if
this flag doesn't allow it?


On Mar 14, 6:08 pm, Romain Guy <[email protected]> wrote:
> This flag does not guarantee you're going to get a blur effect. The term
> "blur" is used in a more generic sense, thus having a black veil instead of
> a blur is expected.
>
> 2011/3/14 Clément Plantier <[email protected]>
>
>
>
>
>
>
>
>
>
> > Could someone else try? Thanks.
>
> > On Mar 11, 11:03 am, Clément Plantier <[email protected]> wrote:
> > > Hi,
>
> > > I have a dialog that use the window flag FLAG_BLUR_BEHIND to have a
> > > blur effect behind the dialog. It works fine with older versions of
> > > SDK, but with Honeycomb everything is black behind my dialog.
>
> > > To reproduce:
> > > ----
> > > Dialog dialog = new Dialog(context);
> > > dialog.setTitle("Test");
> > > dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
> > > dialog.show();
> > > ----
>
> > > Am I doing something wrong?
>
> > --
> > 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]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to