Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/500px/500px-android-blur
Android Blurring View
https://github.com/500px/500px-android-blur
Last synced: about 22 hours ago
JSON representation
Android Blurring View
- Host: GitHub
- URL: https://github.com/500px/500px-android-blur
- Owner: 500px
- License: mit
- Created: 2015-03-13T16:05:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T19:19:50.000Z (over 4 years ago)
- Last Synced: 2025-01-11T09:01:49.817Z (8 days ago)
- Language: Java
- Homepage: http://developers.500px.com/2015/03/17/a-blurring-view-for-android.html
- Size: 16.2 MB
- Stars: 2,702
- Watchers: 136
- Forks: 325
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-github-android-ui - 500px-android-blur - Android模糊视图 (模糊效果)
- awesome-android - 500px-android-blur
README
## [Currently unmaintained]
# 500px Android Blurring View
For more information, please see [our blog post](http://developers.500px.com/2015/03/17/a-blurring-view-for-android.html).
## Download
Define via Gradle:
``` groovy
repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}dependencies {
compile 'com.fivehundredpx:blurringview:1.0.0'
}
```Enable renderscript in your module's `defaultConfig`:
```groovy
android {
defaultConfig {renderscriptTargetApi 21
renderscriptSupportModeEnabled true
...
}
}```
## Usage
First, give the blurring view a reference to the view to be blurred:
``` java
blurringView.setBlurredView(blurredView);
```and then whenever the blurred view changes, invalidate the blurring view:
``` java
blurringView.invalidate();
```## Demo
![500px Blurring View Demo](blurdemo.gif "500px Blurring View Demo")
## License
This project is licensed under the terms of [the MIT license](LICENSE.txt).