Thread
#compose
    Kyant

    Kyant

    1 year ago
    Is there a way to make a blur
    Surface
    (foreground) or
    Image
    (itself)?
    r

    romainguy

    1 year ago
    Not directly. You can use Renderscript to blur a Bitmap
    As for a Surface it depends on how you render into it
    Kyant

    Kyant

    1 year ago
    Well, I have implemented the blur Image, but how can I create the blur Surface? I want to blur the composables beneath the Surface.
    r

    romainguy

    1 year ago
    Ah you can't do this without taking a screenshot or first drawing your composable to a Bitmap that then you blur
    Kyant

    Kyant

    1 year ago
    How to draw composable to Bitmap? 🤔
    louiscad

    louiscad

    1 year ago
    I think you can put the Composable in a ViewGroup/View that you draw on a canvas from a bitmap.