React Native Create View Under Battery / Clock Bar

Viewed 282

I learn React Native 2 days ago and start creating a header or menu bar, which is placed under View tag . But, I notice that the View tag start from top-left of the entire screen.

I believe that battery / clock bar in iOS and Android has different height. so, how to place a View component under battery / clock bar?

like this :

enter image description here

thank you.

1 Answers

you can import statusBar FOR MORE

<StatusBar backgroundColor = "#00BCD4" translucent = {true}/>
Related