Screenshot
How do I use it?
Setup
Dependencies
dependencies {
compile 'jp.wasabeef:blurry:2.1.1'
}
Functions
Overlay
Parent must be ViewGroup
Blurry.with(context).radius(25).sampling(2).onto((ViewGroup) rootView);
Into
// from View
Blurry.with(context).capture(view).into(imageView);
// from Bitmap
Blurry.with(context).from(bitmap).into(imageView);
Blur Options
- Radius
- Down Sampling
- Color Filter
- Asynchronous Support
- Animation (Overlay Only)
Blurry.with(context)
.radius(10)
.sampling(8)
.color(Color.argb(66, 255, 255, 0))
.async()
.animate(500)
.onto(rootView);
Requirements
Android 3.+