skip to Main Content

I need to reproduce this.

I’ve made the code for the blue rectangle so far but I can’t find a way to add that white blurr around the rectangle.

Does anyone know how to do it?

It’s easy in all languages except Kotlin…

2

Answers


  1. Chosen as BEST ANSWER

    Thank you all for your answers. I've finally found Jetpack Compose (don't know why I didn't see it sooner) and I will be using that going forward. It seems to be the better way of building an app's UI in Kotlin.


  2. You need to make use of third party libraries. Such designs patterns are called neumorphisms . These can be achieved easily using these library :

    1. Fornewid-Neumorphism

    https://github.com/fornewid/neumorphism

    1. Synth-CRED

    https://github.com/CRED-CLUB/synth-android

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search