root-two / react-native-drawer

React Native Drawer
MIT License
2.54k stars 390 forks source link

shadowColor: '...' - is not applied for drawer styles on Android #268

Open valeriik opened 7 years ago

valeriik commented 7 years ago

"shadowColor" property is not applied for drawer styles on Android. With iOS looks like everything ok.

Steps to Reproduce / Code Snippets / Screenshots

<Drawer
              type="overlay"
              ...
              styles={{
                drawer: {shadowColor: 'black', shadowOpacity: 0.8, shadowRadius: 2}
                ...
              }}
>

2017-02-28 11 19 14

Environment

react-native-drawer version: 2.3.0 React Native version: 0.41.2 Platform(s) (iOS, Android, or both?): Android Device info Simulator/Device? - Simulator Android 4.1 (API16), Simulator Android 7.1.1 (API25) OS version? - MacOS 10.12.3 Debug/Release? - Debug

atennapel commented 7 years ago

Use the "elevation" prop