I'm creating an translucent overlay and I want to add a shadow using elevation
for Android with react-native. Problem is that it's rendering an internal "shadow" as well and the higher elevation, larger the shadow. How do I get rid of it?
Relevant code:
<View style={{
backgroundColor: 'rgba(255, 255, 255, .5)',
padding: 50,
elevation: 10, // 20 on image in the right
}}>
<MyButton onPress={() => this.newGame()} title="New Game" />
</View>