Shadow on a shape with a gradient does not implement correctly

To reproduce

  1. Create overlap group or komponent
  2. Add Shape
  3. Add any texture gradient to the shape
  4. Add outer shadow

The shadow created is a copy of the gradient, which ignores any color settings applied to the shadow.

If I remove the gradient the shadow works as expected.

Hope this was clear.let me know if you have any questions.


This is a known issue and it cannot be fixed right now as this depends on how Android does shadow under the hood, you can solve this by overlapping your shape to another one with filled color and use shadow on that OR putting your shape inside an overlap group and use the shadow in the overlap group instead