0

The design I received from the designer is something like this, but I'm not able to build this just using layer-list. Is there any way to achieve this UI? It will really helpful for me as well as other fellow developers!

Thanks :)Item Image

Prateek
  • 502
  • 5
  • 16

1 Answers1

0

looks like job for custom onDraw method or at least 9-patch. you won't achieve blur effect with layer-list

snachmsm
  • 17,866
  • 3
  • 32
  • 74
  • Hey, thanks for the answer. Can you share an example or blog on this one? – Prateek Apr 05 '22 at 09:43
  • sadly, I don't have any... use linked official articles as a hook, you will find more about these topics and examples. I would advice you to start with 9-patch, but that depends on how you want to use this drawable (like custom `CardView`?) – snachmsm Apr 05 '22 at 11:05