zoontek / react-native-edge-to-edge

Effortlessly enable edge-to-edge display in React Native (formerly known as react-native-bars).
MIT License
442 stars 19 forks source link

Changing of background color of the bars? #1

Closed kneza23 closed 2 years ago

kneza23 commented 2 years ago

Why it is needed?

Possibility to programatically change background color of status bar and navigation bar.

Possible implementation

API could look like default component from core RN repo.

Code sample

No response

zoontek commented 2 years ago

That's not the purpose of this library. Its purpose is fully transparent status / navigation bars, similar as iOS behaviour.

But as both status and navigation bar height are exposed, you can create <View /> with custom backgroundColor if needed.