Hi am trying to set a shadow for my fab but my attempts has failed so far i tried setting shadow props but that is for ios only so i tried to play with elevation property but it doesn't look right.
Here's what i tried
<View
style={{
width: 56,
height: 56,
elevation: 2,
borderRadius: 28,
marginBottom: 3,
backgroundColor: 'rgba(231,76,60,1)',
}}
></View>
What i need to achieve





Adding the CSS property
elevation: 1renders shadow in Android without installing any 3rd party library.elevationis an Android-only style property available on theViewelements.See: React Native Docs for the
elevationstyle propertyIf you're open to 3rd party software, another way to get shadows for android is to install
react-native-shadow.Example (adapted from the readme):