September 2018
Intermediate to advanced
302 pages
7h 17m
English
This section is on the basics of positioning things. In React Native, everything is relative by default. This means that if I nest View into another View that has marginTop: 40, this positioning will affect my nested View too.
In React Native, we can also change positioning to absolute. Then the position will be calculated by a fixed number of pixels from our parent. Use the top/bottom + left/right keys in StyleSheet. Remember, other Views will not take this position into account. This is handy if you want to make Views overlap:

Check ...
Read now
Unlock full access