Blurry icon indicating copy to clipboard operation
Blurry copied to clipboard

Hi could you add in more detailed instructions on how to use this package?

Open lamenramen opened this issue 10 years ago • 3 comments

lamenramen avatar Sep 08 '15 07:09 lamenramen

How do you blur the background without requiring a click or a long click? Doesn't seem to work and not sure why. Thanks

lamenramen avatar Sep 08 '15 07:09 lamenramen

I have the same question: how to use this library without clicking the view? Thanks for anyone to give me some info.

woshizsx avatar Oct 18 '15 11:10 woshizsx

It's exactly the same code but outside of the onClickListener. :p

However, I noticed a bug in this library where it would cause a crash if you tried to apply it right away. I suggest doing something like this.

rootView.post(new Runnable() { @Override public void run() { Blurry.with(context).radius(25).sampling(2).onto((ViewGroup) rootView); } });

This way, the blur is applied right after the layout is ready. :) @wasabeef Correct me if I'm wrong.

Pkmmte avatar Jan 29 '16 23:01 Pkmmte