Lesson

Get the Dimensions of a React Native Phone Screen

In this lesson we'll use Dimensions to get the width and height of the screen. Also we'll use onLayout to detect orientation changes.

Duration
1 min
Access
Free
Transcript
Available

In this lesson we'll use Dimensions to get the width and height of the screen. Also we'll use onLayout to detect orientation changes.