How I can make the font size of the text auto change inside a view in react native?
I have text with different lengths, some of which doesn\'t fit the view so decrea
Try this approach. Consider setting the font size according to screen width as following
width: Dimensions.get('window').width
So in your style try to make a percentage calculation to make the font size fit the screen
style={
text:{
fontSize:0.05*width
}
}
this will gonna work for all screens (both Android and IOS)