How to add blurry effect to drawing image via XML in android

How to add a blur effect to a hand-drawn image placed in a layout image viewer using xml, not Java? I want to encode this blur effect in XML.

+4
source share
1 answer

Now you ca n’t create the blur effect in the XML layout of the Android application.

However, this is possible thanks to the use of Java. There are a number of methods for this (see here for a recent guide on how to do this efficiently). Typically Renderscript, either or zooming the image is used to create image blur .

Edit:

XML . ,

+4

Source: https://habr.com/ru/post/1589027/


All Articles