0

i'm newbie. Im creating a simple android launcher. i have a problem with blur for wallpaper. Wallpaper larger than phone screen. i want to blur a path of this wallpaper which is as large as screen. however, each time when I scroll my screen, the part of wallpaper appearing on the screen will blur. thank you so much.

Illustration: enter image description here

Code Lღver
  • 15,573
  • 16
  • 56
  • 75
namdn
  • 69
  • 8

1 Answers1

-1

Look at this repo:

https://github.com/romannurik/muzei

It is wallpaper app and it has blur.

Fedor Kazakov
  • 601
  • 3
  • 12
  • The op wants to implement a Launcher nor a WallpaperService – Phani Rithvij Dec 08 '19 at 15:38
  • @PhaniRithvij the link I've provided contains blur code and it's irrelevant either it's for a launcher or a WallpaperService. – Fedor Kazakov Dec 09 '19 at 18:08
  • The OP wants to blur the wallpaper that's being shown. And the wallpaper would most likely be shown using a flag in the android manifest. So an answer to "How to blur an image" won't be useful. And you provided the link to the repo as the answer which should be a comment instead. And muzei's blur implementation is not simple if you bothered to look at it [here](https://github.com/romannurik/muzei/blob/master/main/src/main/java/com/google/android/apps/muzei/render/MuzeiBlurRenderer.kt). Thus your answer is not beginner-friendly and isn't an answer either. So it is relevant. – Phani Rithvij Dec 10 '19 at 07:30