Closed leeapted closed 6 years ago
Hi @leeapted
You need to set overlay color for BlurView
:
blurView.SetOverlayColor(Resource.Color.colorOverlay);
Android colors.xml
<color name="colorOverlay">#78ffffff</color>
I added full worked Xamarin.Forms example here: https://github.com/wcoder/Xamarin.BlurView/pull/2/commits/50c71e4bcc58cc07deb108c18dd6a40ccd077832
It works perfectly. I'm using it in a titlebar on top of a Xamarin ListView (scrolling underneath it) and it's very smooth. Thank you.
I'm trying to use BlurView in a custom renderer. When using a FrameLayout, the following code works as expected:
But I cannot get the following to work when I replace the FrameLayout with a BlurView (there is no blurring). Is it possible? What is Wrong? Thank you!