Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

android center text react native

  headline: {
    textAlign: 'center', // <-- the magic
    fontWeight: 'bold',
    fontSize: 18,
    marginTop: 0,
    width: 200,
    backgroundColor: 'yellow',
  }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #center #text #react #native
ADD COMMENT
Topic
Name
7+7 =