具有这种反应原生样式:
flex: 1,
backgroundColor: 'transparent',
borderBottomColor: 'white', //'#FBFAFA',
borderBottomWidth: 10,
overflow: 'hidden',
shadowColor: '#099FD7',
shadowOffset: {
width: 0,
height: -10
},
shadowRadius: 10,
shadowOpacity: 100,
如何使阴影更强烈?在应用程序中几乎看不到。
谢谢!
我找到了解决此问题的方法。
https://github.com/react-native-community/react-native-linear-gradient 下面是一个示例: https://github.com/react-native-community/react-native-linear-gradient/issues/107
但是安卓可能存在问题。