Blur Algorithm and Android 13See original GitHub issue
- Pixel 6 with Android 13
We are using blurview to perform blurred overlay behind loader and dialog. It works perfectly fine until Android 13.
On Android 13 when a textfield is shown and focused within Dialog with blurred background, we got a blinking background… (the blinking/redraw seems to occurred when a letter is drawn or when the cursor blink)
We are using RenderScriptBlur
.setBlurAlgorithm(RenderScriptBlur(rootview.context)) but it is now deprecated.
We try to switch to RenderEffectBlur (that is also deprecated ?) with
setBlurAlgorithm(RenderEffectBlur(this, RenderEffectPrecision.EXACT)) and it seems to work fine (RenderEffectPrecision.DOWNSCALED make a blinks each time in every case).
My question is what script we must used ? the all two are now deprecated and android 13 seems to be tricky 😦 The visual render is a little bit different between the two scripts ?
- Created a year ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Ah, for some reason Jitpack decided to execute some unrelated tasks. Weird. Try fetching the 2.0.2 now