Is it possible to get the size (width and height) of a certain view? For example, I have a view showing the progress:

<View ref="progressBar" style={{backgroundColor:'red',flex:this.state.progress}} /> 

I need to know the actual width of the view to align other views properly. Is this possible?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *