Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Frost glass effect in android

Tags:

android

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

enter image description here

like image 735
kadhirvel Avatar asked Feb 05 '14 06:02

kadhirvel


People also ask

What is frosted glass effect?

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.

What is enable blurs in Android?

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.

How can I blur color in Android?

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 !


2 Answers

Check out these android library:

https://github.com/kikoso/android-stackblur

https://github.com/PomepuyN/BlurEffectForAndroidDesign

like image 160
Madhur Ahuja Avatar answered Oct 26 '22 00:10

Madhur Ahuja


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

like image 20
Adit Avatar answered Oct 26 '22 01:10

Adit