Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set the StatusBar font color of react-native in Android app?

Tags:

react-native

in react native android app, I can use backgroundColor to set the StatusBar background color, but the font color is still white, I want to change to dark

like image 899
Duke Avatar asked Nov 07 '16 07:11

Duke


1 Answers

use style to define the icon and text color and use backgroundColor to define the background.

<StatusBar style="light" backgroundColor="#000000" />
like image 53
Aravind Prabash Avatar answered Oct 13 '22 09:10

Aravind Prabash