以前车机的html5 app里有人用js也做了这个效果性能损失很大,据说native app就没这种问题。
这次做安卓app了,拿出来耍耍:
PomepuyN/BlurEffectForAndroidDesign
HTTPS clone URL
You can clone with https://github.com/PomepuyN/BlurEffectForAndroidDesign.git
Clone in Desktop Download ZIPSample to show how to implement blur graphical tricks
Java
branch: master
BlurEffectForAndroidDesign/ nicolas authored on Jun 24, 2013
BlurEffect | RenderScript use when API > 16. | 2 years ago | |
.gitignore | Initial commit | 2 years ago | |
LICENCE.TXT | Licence added back in the right folder :) | 2 years ago | |
README.md | Update README.md | 2 years ago |
README.md
BlurEffectForAndroidDesign
Sample to show how to implement blur graphical tricks
All the explanations could be found here: http://nicolaspomepuy.fr/?p=18
A sample is available on the Google Play Store at this adress:
https://play.google.com/store/apps/details?id=com.npi.blureffect
Screenshots :