Answer the question
In order to leave comments, you need to log in
How to connect your fonts to the application?
How can I include my fonts in a React Native app?
I just found that I need to put the font in projectfolder\android\app\src\main\assets\fonts
recompile the application and everything should work, but in reality nothing works) the
font is called Robregular.ttf
in the code I wrote like this
time: {
fontFamily:'Robregular',
fontWeight:'400',
color:'#fff',
textAlign:'center',
fontSize:15,
marginTop:10,
paddingBottom:10,
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question