I want to have frost glass effect in android (commonly available in ios) see the image, i applied gaussian blur effect using code, but didn't getting the desired result, Please help
Frosted glass is produced by the sandblasting or acid etching of clear sheet glass. This creates a pitted surface on one side of the glass pane and has the effect of rendering the glass translucent by scattering the light which passes through, thus blurring images while still transmitting light.
Window blurs are disabled by default. To enable the blur functionality on devices, do the following: Ensure that the device can handle the extra GPU load - the blur operation is expensive and on lower-end devices, it might cause dropped frames. Only enable this on devices with sufficient GPU power.
There are two way to achieve. 1) You can use FrameLayout to which you can set blur background. 2) You can use latest Blur library which i have !
Check out these android library:
https://github.com/kikoso/android-stackblur
https://github.com/PomepuyN/BlurEffectForAndroidDesign
Does this help ? http://latest-tutorial.com/2013/10/07/blur-mask-filter-bitmap-android/
I'm also in the hunt for a similar result , hope to test it out soon
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With