title: why textAlign:'center' not working in react-native?
body: <p>how to make lable horizontally center .I used  textAlign:'center'.But it is not working .here is my code
  <a href="https://rnplay.org/apps/ZN2gvA" rel="nofollow">https://rnplay.org/apps/ZN2gvA</a></p>
  
  <pre><code>'use strict';
  
  import React from 'react-native';
  const {
    AppRegistry,
    Component,
    Text,
    View
  
  }=React;
  
  const styles=React.StyleSheet.create({
    container:{
      paddingTop:20,
       textAlign:'center',
  
    },
    label:{
     color:'blue',
     backgroundColor:'red'   
  
  }
  })
  
  class SampleApp extends Component{
    render(){
  
      return (&lt;View style={styles.container}&gt;&lt;Text style={styles.label}&gt;hello&lt;/Text&gt;&lt;/View&gt;)
    }
  
  }
  AppRegistry.registerComponent('SampleApp', () =&gt; SampleApp);
  </code></pre>