1

I have this code :

import React from 'react';
import { View, StatusBar } from 'react-native';

export default class App extends React.Component {
  render() {
    return (
      <View>
         <StatusBar
           backgroundColor="blue"
           barStyle="light-content"
         />
       </View>
    );
  }
}

and I run it under EXPO apps on Android 6 - MiUI 8.5. My question is, why status bar still in white. not blue? and nothing is changed. I only got blank white screen (because status bar text in MiUI is also white).

Saint Robson
  • 5,475
  • 18
  • 71
  • 118

1 Answers1

1

I closed the EXPO app and start it once again. and it works. I think the problem is with the EXPO app.

Saint Robson
  • 5,475
  • 18
  • 71
  • 118