React-native-navigation: [V2] Is there a possibility to change android navigation bar and soft buttons color

Created on 5 Apr 2019  路  6Comments  路  Source: wix/react-native-navigation

Issue Description

Hi. Thank you for this awesome package. In V1 there is a possibility to change at least navigation bar color. Could you hint me if there is similar functionality in V2? Didn't find anything in the docs.

I can use separate packages for that purpose, but i don't want to add unnecessary third party dependencies.

Maybe someone can also hint me how to change android soft buttons color (navigation bar style)? It would be great. Because if i make navigation bar white - soft buttons becomes almost invisible, so need to change somehow their color also

Thanks in advance

Screenshot 2019-04-05 at 10 42 03


Environment

  • React Native Navigation version: 2.16.0-snapshot.265
  • React Native version: 0.57.8
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Any android device with soft buttons

Most helpful comment

I too have same issue, react-native-navigation-bar-color is not working for me.Can this question be reopened?

All 6 comments

Use statusBar option to change the color of the Android status bar.

https://wix.github.io/react-native-navigation/#/docs/styling?id=options-object-format

Yes, i can change color of statusBar, but i'm asking about navigation bar i showed on screenshot above. Thank you

You can directly change it without react-native-navigation. Try https://stackoverflow.com/a/47341768/9821453

I managed to do what i need using the following package: https://github.com/thebylito/react-native-navigation-bar-color
Thanks for your reply. This issue-question can be closed now

I got the same problem. I need to change the soft button color dynamically. It was easily possible in v1 but I can't find anything about v2...

Using a third party library is not really a solution for me.

I too have same issue, react-native-navigation-bar-color is not working for me.Can this question be reopened?

Was this page helpful?
0 / 5 - 0 ratings