I'm trying to add a shadow on the top of a View
element, but I can't find a way to make it work on Android.
On iOS is working properly, using negative value on Y axis, but on Android, shadow is showed at the bottom of the element.
Here are the styles applied:
footer: css`
padding: 0px 20px;
background-color: ${COLOR.WHITE};
flex-direction: row;
justify-content: space-between;
align-items: center;
box-shadow: 0 -2px 10px rgba(144, 155, 160, 0.2);
elevation: 20;
margin-bottom: 100px;
shadow-color: black;
`,
Is there a way to have "elevation" on the top of a View
element?