react native center element in horizontal code example
Example: center element react native
var styles = StyleSheet.create({
content:{
flex:1,
flexDirection:'row',
alignItems:'center',
justifyContent:'center'
},
…
});