How i can remove react-native button shadow?
I successfully removed the shadow with elevation: 0
in the button's style.
I don't think thats possible. If you don't need a button elevation (shadow), you may create your own react-native button using using Touchables(TochableOpacity, TochableHighlight, TouchableWithoutFeedback). And it's not a big deal.
Please refer to the docs.
renderButton = () => {
return (
<TouchableOpacity onPress={this._onPressButton}>
<ImageBackground style={styles.button} source={require('./myButton.png')} >
<Text>Press me</Text>
</ImageBackground>
</TouchableOpacity>
);
}
you can't use style="box-shadow: 0px 0px 0p;" at all there is multi way to approach this i personal use elevation: 0
if you use router-flux for navigation pls consider that icons appear with shadow just on android but no shadow exist for ios version by default