React-native-router-flux: remove the shadow in android navBar

Created on 27 Oct 2017  路  3Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.22 (v3 is not supported)
  • react-native v0.47.2
for stack overflow

Most helpful comment

You can just open inspector and look at current styles for NavBar. All you need is to set elevation property to 0 in NavBar styles.

All 3 comments

You can just open inspector and look at current styles for NavBar. All you need is to set elevation property to 0 in NavBar styles.

@onrige thank
the shadow is remove
but the border for bottom is no remove
my code like it

const normalNav = { navigationBarStyle: { backgroundColor: Utils.themeColor, borderBottomWidth: 0, elevation: 0 } }
...

<Scene key="root" headerMode="screen" titleStyle={{ color: 'white' }} {...normalNav} {...hidenBack}>

is not work

Can't reproduce it with latest RNRF

Was this page helpful?
0 / 5 - 0 ratings

Related issues

booboothefool picture booboothefool  路  3Comments

maphongba008 picture maphongba008  路  3Comments

basdvries picture basdvries  路  3Comments

llgoer picture llgoer  路  3Comments

fgrs picture fgrs  路  3Comments