Skip to main content
Amr_Mehanna
May 5, 2024

Fix the shadows problem with Android (compose) in Dev mode

  • May 5, 2024
  • 11 replies
  • 958 views

I have a problem with a shadow that faces the Android engineer when applying the shadow styling

“the shadow modifier is not compatible with this design in Figma”

and the outcome shadow is not the same as the design
Is there any solution or plugin to fix that?

Code

11 replies

y_toku
Figmate
Community Support
May 7, 2024

Hi there,

Thanks for reaching out. I’m checking with our internal team. I will get back to you when I have anything I can share with you.

Thanks for your patience.
Toku

Amr_Mehanna
May 7, 2024

Waiting for your respond
Thank you

y_toku
Figmate
Community Support
May 10, 2024

Thanks for your patience. Our product team is checking it, so please hang in tight. Thanks!

David_Nguyen
July 30, 2024

I’m having the exact same problem.

Was there ever a solution to this?

djv
Figmate
Community Support
July 30, 2024

Hey All, sorry for the delay!

Our Dev mode team filed a bug for this, but then got busy with other projects surrounding Config 2024. Now that things are slowing down again, they hope to do a deeper dive into fixing this issue.

We appreciate your patience and understanding - stay tuned!

Antonio_Augusto_Furtado_de_Far
New Member
August 21, 2024

Any update regarding this problem?

Taylor_Ling
September 18, 2024

Hey guys, any updates? I saw the same issue and now most Android team are moving towards Compose, and we need the proper code translation for the dev team.

djv
Figmate
Community Support
September 18, 2024

Hey All, thanks for your patience!

Our team reported back that Android hasn’t improved the functionality of the .shadow() modifier since we originally filed a ticket, so there is no easy fix yet.

To correctly translate Figma shadows to Android shadows, we would have to build a custom modifier from scratch. This would be a separate package or library that users would install. Instead of .shadown(), users would use .figmaShadow() to replicate the behavior of Figma shadows.

Is this something you’d be interested in?

I’ve updated this topic into a feature request to gauge overall interest from the community. If we get enough votes from dev mode folks, we’ll be able to advocate for the project and team effort it would require to build.

Andrii_Tsymbal
September 30, 2024

Of course yes!
We (many developers) are waiting on this feature.
Please vote for a post above, it is important!

Amr_Mehanna1
September 30, 2024

Of course
I think the shadow engine in Figam is different from Android and IOS
You should handle it to match every operating system
@dvaliao