1
0
mirror of https://github.com/wasabeef/glide-transformations.git synced 2026-04-16 00:43:53 +08:00

fix: Blur transformation not working

This commit is contained in:
wasabeef
2015-01-20 23:34:47 +09:00
parent bf2eaadf2d
commit 3c3d2c0123
3 changed files with 39 additions and 17 deletions

View File

@@ -52,6 +52,21 @@ Glide.with(this).load(R.drawable.demo).bitmapTransform(
.into((ImageView) findViewById(R.id.image));
```
## Step 4
If you are using BlurTransformation.
```groovy
android {
...
defaultConfig {
...
renderscriptTargetApi 21
renderscriptSupportModeEnabled true
}
}
```
## Transformations
### Crop